phpmyadmin error importing database size 39mb

Discussion in 'General' started by divinul, Oct 13, 2023.

  1. divinul

    divinul New Member

    Hi all! I have a Dell PowerEdge R520 server running debian12 and ispconfig3 I have several personal websites hosted on it for some time I have been trying to restore a database from a former online store based on the prestashop platform when I got to the step of importing the database, I got an error due to the size of 39 mb, I mention that I changed the limit to 250 mb in php.ini, you can also see it here primomob.ro/infophp.php I really don't know what else to change to be able to load the database or the tables in it to be able to restore the online store, You should know that I am an average in Linux, I am not an expert I am waiting for a solution from you, maybe I can solve the problem. My English is not very good, I'm from Romania Thank you for understanding!
     
  2. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Your memory_limit is 128mb, try increasing it to be the same with the other two upload_max_filesize and post_max_size? Also check if the error is due to max_execution_time as it could need more time?
     
  3. divinul

    divinul New Member

    I did and you can check this at primomob.ro.infophp.php
    also, nothing seems to have changed in phpmyadmin, in the import column, 2MB still appears
    another solution? what else could I change to get rid of that limitation in phpmyadmin
     

    Attached Files:

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    This means you either missed restarting the php-fpm daemon of that php version or you edited the wrong php.ini file.
     
    ahrasis likes this.
  5. divinul

    divinul New Member

    the files I edited are in the location:
    /etc/php/7.4/cgi/php.ini
    /etc/php/7.4/fpm/php.ini
    /etc/php/7.4/cli/php.ini
    where am I wrong
     

    Attached Files:

  6. till

    till Super Moderator Staff Member ISPConfig Developer

    You say you are using Debian 12, so the default PHP version of the OS that phpmyadmin likely uses is PHP 8.2 and not 7.4.
     
    ahrasis likes this.
  7. divinul

    divinul New Member

    probably, but in ispconfig3 on the primomob.ro website I set it as version 7.4, could it be the problem here?
    now I will change the limit in:
    /etc/php/8.2/cgi/php.ini
    /etc/php/8.2/fpm/php.ini
    /etc/php/8.2/cli/php.ini
     
    Last edited: Oct 14, 2023
  8. divinul

    divinul New Member

    I also modified it for 8.2 but I still don't get rid of the 2MB limit
    the files I edited are in the location:
    /etc/php/8.2/cgi/php.ini
    /etc/php/8.2/fpm/php.ini
    /etc/php/8.2/cli/php.ini
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    No, the php version of the website does not matter for PHPMyAdmin. In Debian and Ubuntu, phpmyadmin is a global alias, so it does not run via website php.


    and did you restart php8.2-fpm service afterwards?

    service php8.2-fpm restart
     
    ahrasis likes this.
  10. divinul

    divinul New Member

    the restart command does not work
    I receive an error in putty, I have attached the print below
     

    Attached Files:

  11. divinul

    divinul New Member

    I used the command:
    systemctl php8.2-fpm restart
    putty displayed the message:
    Unknown command verb php8.2-fpm.


    I don't know how to restart it at service
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    The service command should exist on any Debian 12 system by default. But you can alternatively use systemctl command:

    systemctl restart php8.2-fpm.service

    2023-10-14 08_09_14-administrator@server1_ ~.png
     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    You must use the right command option order when executing a command on Linux. See my example in post #12
     
    ahrasis likes this.
  14. divinul

    divinul New Member

    ready, finally I succeeded, I restarted the service with the command you posted above and now the limit in phpmyadmin is 256mb
    Thank you very much yesterday I searched all day on the internet for the solution to my problem but it was in vain I have received quality support on this forum Thank you very much!
     
    ahrasis and till like this.

Share This Page