Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: V1.4.4 - Effect of changes in php.ini  (Read 2436 times)

0 Members and 1 Guest are viewing this topic.

borlavrin

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
V1.4.4 - Effect of changes in php.ini
« on: April 19, 2006, 12:37:18 pm »

Question:
When changes are made in php.ini, are they picked up automatically by Coppermine or must it be re-installed first? In effect, is Coppermine ‘reading’ the new php parameters whenever the function is called?

The change has to do with uploading files > 2M.  Yes, I have picked the relevant info from the Trouble-shooting FAQ.

Situation:
On initial Coppermine installation, the php values were as in their default
Max_input_time = 60
Upload_max_filesize = 2M

I changed the php.ini to:
Max_input_time = 300
Upload_max_filesize = 8M

I also changed the Disk Quota in group control to 20,240 from 1024

Result:
I still seem to be bound by the 2M and 60 sec limit

I am stumped, need some guidance please.
Boris
« Last Edit: April 19, 2006, 03:07:17 pm by Nibbler »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: V1.4.4 - Effect of changes in php.ini
« Reply #1 on: April 19, 2006, 12:50:15 pm »

coppermine doesn't read php.ini settings at all. They affect PHP. That's why the file is called php.ini. You have to restart your webserver to make them being taken into account. Make sure that you actually have the privileges to modify php.ini (usually you can only do so if the server is yours to administer). Run phpinfo.php to find out if they had an effect.
Think of coppermine as new stereo system in your car: charging your car's battery might have an impact on your ability to listen to music from your new stereo system. However, you can't ask your stereo's manufacturer on issues related to your car's battery.
Logged

borlavrin

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: V1.4.4 - Effect of changes in php.ini
« Reply #2 on: April 19, 2006, 01:46:19 pm »

Yes, phpinfo.php shows that the change was completed, and that is why I am stumped.  The server is on my own equipment and therefore I have full access.

Will have to seek further for the glitch.  Thanks for your clarification.

Cheers,
Boris
Logged

borlavrin

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: V1.4.4 - Effect of changes in php.ini
« Reply #3 on: April 19, 2006, 02:54:02 pm »

You were right GauGau, way down deep in the entrails of the server, there was a "Max POST Size" which had escaped my attention.  This upload issue can be marked as solved.

Cheers,
Boris
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.