Setting PHP options: Difference between revisions
From ULYSSIS documentation
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
php_value memory_limit 32M | php_value memory_limit 32M | ||
You can of course also use the | You can of course also use the [http://be2.php.net/manual/en/function.ini-set.php | ini_set] function. |
Revision as of 02:40, 9 July 2014
Just like PHP errors, you can set PHP options you would normally set in php.ini using .htaccess.
You just add the option preceded by php_flag and follow by the value:
php_value upload_max_filesize 20M php_value post_max_size 25M php_value memory_limit 32M
You can of course also use the | ini_set function.