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

Operations Engineer at Endurance International Group. Linux lover. Like to play on Linux console. I started this blog to share and discuss Linux thoughts.

Always happy for an open discussion! Write to arun (@) crybit (dot) com. Check about me for more details. About this blog and our strong members, check The team
We like to travel. Our travelogues are published at Trip Mentor

Leave a Reply

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