Odi's astoundingly incomplete notes
New entries | CodePHP config woes
My today's PHP feature is about configuration. It's nice you can put special configuration for individual files into the Apache config file or an .htaccess
file.
php_value include_path ".:/usr/local/lib/php"
The config options of PHP are devided into two groups: normal ones and admin ones. Unfortunately there is no documentation which options are admin ones and which ones are normal ones....
So I had to find out painfully that max_execution_time
is an admin option. It is therefore not allowed in an .htaccess
file and must be set like so in httpd.conf
:
<Files script.php> php_admin_value max_execution_time 300 </Files>
Add comment