Changes in PHP.INI for OpenLiteSpeed not working
Asked Answered
R

2

6

In a OpenLiteSpeed server I used php_info() to find the path to php.ini

Loaded Configuration File /usr/local/lsws/lsphp73/etc/php/7.3/litespeed/php.ini

Then I edited max_input_vars and tried several ways to restart OpenLiteSpeed to apply the changes, but nothing is working.

php_info() shows the old value of max_input_vars

Runner answered 2/6, 2020 at 16:14 Comment(2)
did you pkill lsphp ?Haricot
@Haricot this fixed my problem. thank you very much friend!!!Runner
R
11

As told by @qtwrk pkill lsphp fixed the problem

Runner answered 2/6, 2020 at 18:54 Comment(0)
C
-1

For me pkill lsphp is not working

I am using an Oceandigital droplet with openlitespeed / Wordpress (from the DO market place) I can't have changes in php.ini working

The php.ini file is here /usr/local/lsws/lsphp83/etc/php/8.3/litespeed/php.ini ( according to phpinfo ) There is any other on the server.

I used several way to restart lsws or lsphp: nothing works

/usr/local/lsws/bin/lswsctrl {start|stop|restart|fullrestart} service openlitespeed restart systemctl restart lsws combined with pkill lsphp killall lsphp

Contrastive answered 16/10 at 12:1 Comment(1)
If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From ReviewEngler

© 2022 - 2024 — McMap. All rights reserved.