I have recently reinstalled my server this time with WAMP, previously I was using XAMPP.
In phpmyadmin the max upload size for database files is at 2,048kb.
I have changed the three variables in php.ini according to several forums and articles on the problem, restarted my server and it has no effect what so ever.
Is there some kind of environmental path variable etc that needs setting elsewhere?
What am I missing.
Put these in php.ini
upload_max_filesize = 10M
post_max_size = 10M
Or you can put these in .htaccess:
php_value upload_max_filesize 10M
php_value post_max_size 10M
Replace 10M with anything you want.
Extra: To find what php.ini is currently used, create a file in the web root, let's say info.php
that contains <?php phpinfo();
. Then access that file from your browser, and search for php.ini
. This has to be done through the browser, from the command line you will see the php.ini
used in cli.
When finished, restart Apache for the changes to take effect.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With