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

Linux Systems Architect at Endurance International Group. I know her (Linux) since many years. 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 CryBit.com

Leave a Reply

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