PDA

View Full Version : PHP Problem


tnelms
26th of October 2003 (Sun), 19:30
I'm having one minor problem, php related. I have tried setting the php_value max_execution_time values in my .htaccess file as specified in your htaccess.txt files, but apache keeps throwing errors, "php value not allowed here" . I have set "AllowOverride Options" in my httpd.conf file for the document root, but that doesn't seem to help. What do I need to do to get Apache to let me put the php execution time values into .htaccess? I'm using apache 2.0.47 on WinXP Pro. Everything else works great, I just get timeouts when I try to use some of the functions because I can't figure out how to get the overrides in.

Thanks!

Pekka
31st of October 2003 (Fri), 15:23
tnelms wrote:
I'm having one minor problem, php related. I have tried setting the php_value max_execution_time values in my .htaccess file as specified in your htaccess.txt files, but apache keeps throwing errors, "php value not allowed here" . I have set "AllowOverride Options" in my httpd.conf file for the document root, but that doesn't seem to help. What do I need to do to get Apache to let me put the php execution time values into .htaccess? I'm using apache 2.0.47 on WinXP Pro. Everything else works great, I just get timeouts when I try to use some of the functions because I can't figure out how to get the overrides in.

Thanks!

Very hard to say, perhaps Apache 2 has some other directives for PHP.... www.apache.org or www.php.net should be able to tell.

mwpmo
31st of October 2003 (Fri), 18:05
Just edit the PHP.INI file and change the value of MAX_EXECUTION_TIME in the RESOURCE LIMIT section.