upload_max_filesize & post_max_size are not taking effect on the website

#1
Hello,
I have been trying to increase both upload_max_filesize and post_max_size for a WordPress website hosted on OpenLiteSpeed Server.
I have followed this article https://www.quentinadt.com/index.ph...ting,upload_max_filesize” to the desired size.
But I wasn't able to achieve the same.
I am running php7.4
This is the command in server config -> external app: /usr/local/lsws/lsphp74/bin/lsphp
When I went to this /usr/local/lsws/lsphp74/etc/php/7.4/litespeed and edited the php.ini and set the new values, I then restarted the services with no luck at all.
 

Cold-Egg

Administrator
#2
Have you tried to "killall lsphp" to restart the PHP service? If it's still not working, is it possible to share tmp phpinfo page?
 
#3
Hello,
I have been trying to increase both upload_max_filesize and post_max_size for a WordPress website hosted on OpenLiteSpeed Server.
I have followed this article https://www.quentinadt.com/index.php/2021/09/17/how-to-increase-maximum-upload-file-size-in-litespeed-wordpress-ubuntu-20/#:~:text=To change the “upload_max_filesize” setting,upload_max_filesize” to the desired size.
But I wasn't able to achieve the same.
I am running php7.4
This is the command in server config -> external app: /usr/local/lsws/lsphp74/bin/lsphp
When I went to this /usr/local/lsws/lsphp74/etc/php/7.4/litespeed and edited the php.ini and set the new values, I then restarted the services with no luck at all.
For doing that, after making the changes in php options you must restart the server with this code: /usr/local/lsws/bin/lswsctrl restart and after you must stop the instance and run it again, and you can see the changes working.
 
Top