C-NET :: PROJECTS

cat set-php-ini-values-using-htaccess.md

Set php.ini values using .htaccess

Posted
Updated
Filed under
Linux · Reference

Did you know that you can set php.ini values right inside the .htaccess file? You can do so by adding lines like these:

#format
php_value setting_name setting_value

#example
php_value  upload_max_filesize  128M
apacheconf

Comments