Did you know that you can set php.ini values right inside the .htaccess file? It's actually very easy.
The .htaccess Code
#format
php_value setting_name setting_value
#example
php_value upload_max_filesize 10M
Of course you could simply place these in the .htaccess file, but .htaccess is a viable alternative if your host doesn't allow you to touch the php.ini file.
The .htaccess Code
#format
php_value setting_name setting_value
#example
php_value upload_max_filesize 10M
Of course you could simply place these in the .htaccess file, but .htaccess is a viable alternative if your host doesn't allow you to touch the php.ini file.
0 comments:
Post a Comment