problem using php.ini with installation of PHP5
Posted by: tinhair30
Posted on: 2007-12-16 12:04:00
Hi,
I followed the directions to install php5 to my account. I want to increase the execution time to more than 30 seconds. I went into the php5>etc>php5>mydomain.com>php.ini folder and modified the max_execution_time to 60 seconds instead of the default of 30 seconds. I then ran a script to download images using curl with the following and I get the fatal error message as show below:
Fatal error: Maximum execution time of 30 seconds exceeded in /home/.zarathustra/tincan30/digitalsalesdepot.com/curltest.php on line 34
I did a phpinfo() and those values were not changed. It was still 30 seconds.
I don't think that my domain is using the custom installed PHP5 version.
It says the loaded configuration file is at:
/etc/php5/cgi/php.ini
it does not point to my php.ini
from phpinfo() the version is 5.2.3 and I see this noted on the installation instructions page.
WARNING if you use php 5.2.3 (and maybe others) the scripts below will copy the php binary when you need them to copy the php-cgi binary!!
what does that mean?
what should i do? thanks
Edited by tinhair30 on 12/16/07 02:02 PM (server time).