php.ini - import database

carolinef

Verified User
Joined
Sep 2, 2021
Messages
25
Hi, I have a problem with upload_max_filesize change. When I make changes to both the cloudlinux selector and the php.ini file in phpmyadmin I see that I can import a maximum of 64m. Nothing changes...
 
...
 

Attachments

  • Przechwytywanie.jpg
    Przechwytywanie.jpg
    61.1 KB · Views: 73
phpmyadmin uses server's default PHP and it's settings.
from ssh root console check what config to modify:
php -i | grep php.ini
 
I checked and here there is a 256M record. Still unchanged in phpmyadmin :(
 

Attachments

  • Przechwytywanie.jpg
    Przechwytywanie.jpg
    52.9 KB · Views: 75
  • Przechwytywanie2.jpg
    Przechwytywanie2.jpg
    15.8 KB · Views: 77
When updating php.ini for PHPMyAdmin you need to check multiple values:

memory_limit
post_max_size
upload_max_filesize

If any are too small it will use the smaller value. Remember to restart php service.
 
also after modifying php ini - you must restart php-fpm/httpd/nginx/lsphp or what you are using
 
Back
Top