Saturday, July 5, 2008

Fedora 9: Increase PHP Upload Limits

There are times that we are limited on uploading files and images to certain web-based services that we are managing along our duties. Here's a quick how to on increasing your PHP file upload directive.

Fedora 9: Increase PHP Maximum Upload Filesize

Backup and modify /etc/php.ini to have a similar lines as shown below

upload_max_filesize = 2M

2M represent 2MB of maximum file upload.

Some PHP based applications also consider additional PHP directive to be modified, check PHP directive below

post_max_size = 10M

Do reload and refresh your file upload attempt.

0 comments:

Sign up for PayPal and start accepting credit card payments instantly.
ILoveTux - howtos and news | About | Contact | TOS | Policy