Hello all,
I've needed to change the max_execution_time recently but have found that my PHP4 setup does not read the php.ini file ( or possibly the file syntax? ).
Here are the specs:
Solaris 2.6
Apache 1.3.12
compiled with prefix == /opt/apache
PHP 4 RC1
compiled with prefix == /opt/php4
built as apache dynamic module
php.ini file contents:
max_execution_time = 120;
phpinfo.php report the php.ini path is /usr/local/lib. However, it will not read a file from this directory nor if I create a php directory under /usr/local/lib. I've tried putting the ini file in various locations under /opt/php4.
Each time I stop and start the apache server. Each time phpinfo.php reports the execution time is 30 seconds.
running this small script reveals that the ini file is not being read:
<?php
$path = get_cfg_var($cfg_file_path);
if ( $path ){
print "cfg_file_path variable is |$path|";
} else {
print "the was no file path for config";
}
?>
Any help is appreciated. I'm stumped.
Cheers,
Carlos