CyberHosting

PHP Upload Size Doesn't Increase

edited February 9 in Database Server
Similar title, why my PHP upload size doesn't increase althought i have edit in PHP config step by step:
https://cyberpanel.net/docs/4-change-upload-limit-for-phpmyadmin/
I'm using PHP version 7.0

Error Image:
https://i.imgur.com/UmZld9G.png
https://i.imgur.com/pNW8kcT.png

Comments

  • Please help me, thanks so much
  • You need to restart the service to see the increase. pkill lsphp
    Cyberpanel Managed & Unmanaged Shared & VPS Hosting by Cyberpanel Experts.

    https://www.cyberhosting.org
  • I am also facing same problem limit doesn't increase.
    I did all on here
    https://cyberpanel.net/docs/4-change-upload-limit-for-phpmyadmin/

    and its still 2mb
  • If you are running the latest version then you are not running on php 7.0 so change the values for the correct php version. Cyberpanel runs on php 7.3
    Cyberpanel Managed & Unmanaged Shared & VPS Hosting by Cyberpanel Experts.

    https://www.cyberhosting.org
  • I did it for php 7.3 few minutes ago as attached screenshots below.

    https://imgur.com/q5ZnJtn
    https://imgur.com/Jo5CbPm
    https://imgur.com/brBTYQn
    https://imgur.com/gJjzdUM
    https://imgur.com/pchVuex

    Whats wrong?
  • You restarted lscpd. You need to restart lsws and kill the php process

    login to the ols webadmin on port 7080 and restart it from there or use command line
    Cyberpanel Managed & Unmanaged Shared & VPS Hosting by Cyberpanel Experts.

    https://www.cyberhosting.org
  • If using the PHP Config edit tool in CP, why does it not do the necessary restarting of the PHP process? Wouldn't that be the logical way to do it? Rather than the user having to hit the command line and do it themselves?
  • @neweracloud only because WP insists on putting in limits into their code which are 99.9% of the time not suitable.

    @inspiredearth discussed this morning. The plan is to implement a vhost level restart of php. For example if you change php version for a website it will restart or give you the option to restart.

    Then the option or auto restart on a server level basis when you edit the php configs.
    Cyberpanel Managed & Unmanaged Shared & VPS Hosting by Cyberpanel Experts.

    https://www.cyberhosting.org
  • i restored lsws using command /etc/init.d/lsws restart
    I killed php using command killall php

    Still no luck php upload limit doesn't increase
  • killall php won't work seen as it's openlitespeed and they name their packages lsphp
    Cyberpanel Managed & Unmanaged Shared & VPS Hosting by Cyberpanel Experts.

    https://www.cyberhosting.org
  • Can you give me command for killing php process on openlitespeed
  • They name their packages lsphp

    What do you think?
    Cyberpanel Managed & Unmanaged Shared & VPS Hosting by Cyberpanel Experts.

    https://www.cyberhosting.org
  • right now, i have same problems & can not fix it . i try to restart service & change setting for all php version but can not
  • i try to edit php.ini at root folder & kill all php . it's working now
  • I had the same problem as well. Only after rebooting the hardware it started to work.
  • The reason why it doesnt change instantly is because of this feature

    https://openlitespeed.org/kb/php-detached-mode/
    Cyberpanel Managed & Unmanaged Shared & VPS Hosting by Cyberpanel Experts.

    https://www.cyberhosting.org
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!