Some customers have been reporting problems with uploading large files via the Admin upload form.
The bad news is that this is a limitation from your hosting provider and not from PHP Melody; so we can’t do much about it.
The good news is that with a few changes you may be able to alter/overwrite your hosting’s php configuration.
Method 1: using php.ini
Create a new file called php.ini and place it in your PHP Melody’s installation folder. Add these lines to your php.ini:
post_max_size = 100M
upload_max_filesize = 100M
Method 2: using .htaccess
PHP Melody already comes with a .htaccess file so be careful not to remove anything when adding those two lines to your existing .htacces:
php_value post_max_size 100M
php_value upload_max_filesize 100M
In both examples you can change 100M to your desired value.
If none of these methods work, you may want to contact your host and ask for these values to be increased.
Enjoy! 😉
Questions? Feel free to leave a comment.
Can you explain a little clearer?
Where exactly do you need help? I consider this is as clear as possible.
Also Andrew, most of the host have a php5.ini and you can change the settings easily in there. seems all has gone over to php5 now anyway. you can search and find the post and upload variables inside the php5.ini and only have to change the numbers..
Very true. Thanks for sharing.
I changed the max and the post size and its staying at 9mb?
That’s strange. Have you also modified the maximum allowed uploads from the Admin Area > Settings page?
If yes, please email customer support and I’ll take it from there.
– Andrew
i changed the max upload and post and everything it still says 9mb
In this case, as the tutorial says, it’s time to contact the hosting provider.
After all this is 100% their responsibility.
Hi,
Regarding upload file size, I’ve modified .htacces file and added both php.ini and php5.ini inside site files and modified those variables from php.ini file from c:\xampp\php\php.ini but the limit remains 10M. In the admin page at PHP Configuration section, I see
File Uploads on
File Post Size (post_max_size) 100m
Max File Size Upload (upload_max_filesize) 100m
so is there a way to change this? I’m using PHPMelody 2.1
What you’ve done should be enough. Have you tried re-starting Apache & PHP?
If yes, you might want to consult the xampp documentation.