Change php.ini via ssh - cPanel 68 - EA4
Hello
We have many cpanel servers and we want to automate some operations like changing php.ini for all servers at one.
We can do this via ssh and we can see changes in MultiPHP INI Editor in whm
But they don't apply while we click save button.
Please let me know what secret is behind save button?!
Regards
-
We can do this via ssh and we can see changes in MultiPHP INI Editor in whm But they don't apply while we click save button. Please let me know what secret is behind save button?!
Via ssh you be able to change the php.ini and restart the Apache webserver. How long have you run shared hosting? as any system administrator know how to edit or just add a line of text into file via ssh and how to restart the services on server - don't even need to click Save button on multiple servers!0 -
Via ssh you be able to change the php.ini and restart the Apache webserver. How long have you run shared hosting? as any system administrator know how to edit or just add a line of text into file via ssh and how to restart the services on server - don't even need to click Save button on multiple servers!
Please test it after upgrade to easy apache 4 After that, changing php.ini via ssh is not applied to websites. (Old values shown in phpinfo(); )0 -
We can do this via ssh and we can see changes in MultiPHP INI Editor in whm But they don't apply while we click save button.
Hello, Could you let us know the full steps you are taking to reproduce the issue (including the specific commands)? Thank you.0
Please sign in to leave a comment.
Comments
3 comments