Setting PHP options: Difference between revisions
From ULYSSIS documentation
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
You can of course also use the [http://be2.php.net/manual/en/function.ini-set.php ini_set] function. | You can of course also use the [http://be2.php.net/manual/en/function.ini-set.php ini_set] function. | ||
[[Category:Webserver]] |
Revision as of 16:13, 28 August 2019
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.