• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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