• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

PHPMyAdmin: Upload File Size - changes are not adopted

ehrenwert

Basic Pleskian
Hello,

I would like to increase the upload_max_filesize in the phpmyadmin-instance that plesk provides.

My /opt/psa/admin/conf/php.ini looks like this:

Code:
short_open_tag = On

y2k_compliance = Off

output_buffering = Off

max_execution_time = 600

max_input_time = 600

memory_limit = 256M

max_file_uploads = 99999

max_input_vars = 2000



 error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED

log_errors = On

display_errors = Off

warn_plus_overloading = Off

expose_php = Off



variables_order = "ECGPS"

register_argc_argv = On

post_max_size = 50M

magic_quotes_gpc = Off

magic_quotes_runtime = Off



upload_tmp_dir = "/tmp"

upload_max_filesize = 50M





swkey.repository_dir = "/etc/sw/keys"



psasem.semfile = "/opt/psa/var/psasem.sem"



opcache.enabled=1

opcache.memory_consumption=100

opcache.fast_shutdown=1



include_path = "/opt/psa/admin/plib:/opt/psa/admin/externals"



zend_extension = "/usr/lib/x86_64-linux-gnu/php/modules/sw-engine/ioncube_loader_lin_5.6.so"

zend_extension = "/usr/lib/x86_64-linux-gnu/php/modules/sw-engine/opcache.so"

After restart the max upload size shown in phpmyadmin is still 2MB (2,048MiB)
 
Hi,
Did you apply the changes with
Code:
service sw-cp-server restart

Also, just as a quick troubleshoot through SSH, create a simple php file in the root of PhpMyAdmin with the
Code:
<?php phpinfo(); ?>
and see if the new changes are picked up ..

NB: From the above you can also see which ini file is being used.

Let me know of the results...
 
Hello and thank you for your reply,

yes, I restarted sw-cp-server already.

The changes are not picked up. This is the result of phpinfo:

upload_max_filesize 2147483647 2147483647
 
Can you also confirm that the ini file you modified is the same as that shown by phpinfo function?
 
Back
Top