Chủ Nhật, 26 tháng 6, 2016

How to change phpMyAdmin post_max_size to more than 2MB

To change the post_max_size in Plesk it is not as simple as changing the /etc/php.ini file entries as there are not active when running phpMyAdmin from within with Plesk Control Panel.

Usually, on a regular *nix installation you would look for these values in /etc/php.ini

phpMyAdmin logoupload_max_filesize
phpMyAdmin logo
What you need to change in fact is this file:

# vi  /usr/local/psa/admin/conf/php.ini

change:

upload_max_filesize = 2147483647
post_max_size = 2147483647
to:

upload_max_filesize = 32M
post_max_size = 32M
This value will now allow phpMyAdmin uploads of files up to 32M is size. Enter your own value here.

Không có nhận xét nào:

Đăng nhận xét