PHP issue — CyberPanel - WebHosting Control Panel for OpenLiteSpeed
CyberHosting

PHP issue

edited January 5 in Bug Report
Hello, i am having an issue with all php versions when it comes to phpMyAdmin.
You can change the settings as much as you want, but when you go into the phpMyAdmin, it loads the default values. (https://cyberpanel.net/docs/4-change-upload-limit-for-phpmyadmin/)
I have tried editing the official settings, restarting MySQL but the same issue.
I have tried changing the files locally, restarted, and the same issue.
I have no idea what to do anymore.
It says I can max upload 2.048KiB

Comments

  • edited January 5
    Hello,
    did you mean you want to upload sql file to phpmyadmin but it always failed ?
    do the ssh to your server which cyberpanel installed, edit /usr/local/lsws/lsphpxx/etc/php.ini (xx is your php version, eg: 80 74 73 72 71 70 56)

    vi /usr/local/lsws/lsphpxx/etc/php.ini

    find the line upload_max_size = 2M; --> change this and save php.ini file

    restart openlitespeed : systemctl restart lsws

    another way is modifying it from cyberpanel web-ui from Server - PHP - Edit PHP Configs menu and then scroll down to identify the filed upload_max_filesize, change it and Save Changes and then Restart PHP.

    Hope this helps

    Thanks
  • Thanks, this seems to have solved it for me :)

    @ganteng said:
    > Hello,
    > did you mean you want to upload sql file to phpmyadmin but it always failed ?
    > do the ssh to your server which cyberpanel installed, edit /usr/local/lsws/lsphpxx/etc/php.ini (xx is your php version, eg: 80 74 73 72 71 70 56)
    >
    > vi /usr/local/lsws/lsphpxx/etc/php.ini
    >
    > find the line upload_max_size = 2M; --> change this and save php.ini file
    >
    > restart openlitespeed : systemctl restart lsws
    >
    > another way is modifying it from cyberpanel web-ui from Server - PHP - Edit PHP Configs menu and then scroll down to identify the filed upload_max_filesize, change it and Save Changes and then Restart PHP.
    >
    > Hope this helps
    >
    > Thanks
Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!