I have changed all the php.ini parameters I know:
upload_max_filesize
, post_max_size
.
Why am I still seeing 2MB?
Im using Zend Serv
Just change your php.ini(xampp/php/php.ini) file, it worked for me!
max_execution_time = 5000
max_input_time = 5000
memory_limit = 1000M
post_max_size = 750M
upload_max_filesize = 750M
And, don't forget to restart Apache Module from XAMPP Control Panel.
I found that increasing the upload and post limit in php.ini did not affect the limit in phpmyadmin. This is because my server has a separate setting for cpanel upload limit. If you have access to WHM, you probably have this.
To adjust:
No need to restart apache or anything, changes are instant. This process increased the value of max upload file size in phpmyadmin. You can check this by going to phpmyadmin and selecting your database, then clicking "import" at the top. Beside the file selector you will see the upload limit. My server default was 100.
The first things to check (or ask your host provider to check) are the values of max_execution_time
, upload_max_filesize
, memory_limit
and post_max_size
in the php.ini configuration file. All of these three settings limit the maximum size of data that can be submitted and handled by PHP.
Please note that post_max_size
needs to be larger than upload_max_filesize
.
You probably didn't restart your server ;)
Or you modified the wrong php.ini
.
Or you actually managed to do both ^^
Open this file
edit these parameters:
I had the same problem.
My Solution:
go to /etc/phpmyadmin and edit apache.conf
in the <Directory>[...]</Directory>
section you can add
php_value upload_max_filesize 10M
php_value post_max_size 10M
Solved the problem for me!