Changing upload_max_filesize(php) for a domain under a Shared Environment

upload_max_filesize is one of the important directive on php.ini file. In this directive we can mention the maximum upload file size for a website. Normally there is only one php configuration file for all domains under a shared environment there fore any changes made on that will effect all domains under that server.
We can mannually set some options for a particular user by editting the .htaccess file under the public(public_html) folder.We can simply edit the .htaccess file from file manager or from back-end. The htaccess file entries are listed below,

php_value post_max_size 3M
php_value upload_max_filesize 3M

Thats it… 🙂

Post navigation

Arunlal Ashok

DevOps Engineer. Linux lover. Traveller.
Always happy for an open discussion! Write to arun ((@)) crybit ((dot)) com.

Leave a Reply

Your email address will not be published. Required fields are marked *