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… 🙂

Arunlal Ashok

Linux Server Administrator. I'm managing Linux servers since 2012. I started this blog to share and discuss my ideas. Check My Profile!! in uPwork (oDesk) and let me know if you need any assistance. Thanks!!

You may also like...

Leave a Reply

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