Tuesday, March 9, 2010

Updating PHP variables without access to PHP.ini

http://www.karakas-online.de/EN-Book/change-php-parameters.html

has the following information:

although you will probably not achieve the desired result, due to restrictions that your ISP has set in place, to change the maximum execution time limit of your PHP scripts, add:

php_value max_execution_time 60

This will set the time limit to 60 seconds.


In general, to set values in an .htaccess file, use the following format:

php_value PHP-VARIABLE VALUE

where the string php-value is a literal.

No comments: