Paper Lantern for cPanel accounts is being retired this year. Find out more »
cPanel & WHM Version 102 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!

Make MultiPHP INI Editor work with mod_lsapi

Rodrigo Gomes shared this idea 4 years ago
Open Discussion

As a cPanel user, I'd like to use MultiPHP INI Editor with mod_lsapi which are currently incompatible, so we can edit php.ini more easily.​

Replies (3)

photo
2

This is critical, since lsapi is much better/faster than suphp, etc.. The inability for customers to edit their own PHP setup is a major problem.

photo
1

It's worth noting that this problem can be easily "worked around" with the following simple fix:


1. Login to WHM and click the "Service Configuration » Apache Configuration" link. Choose the "Include Editor" link.

2. Scroll down to the "Pre VirtualHost Include" section and select "All Versions" from the drop-down box.

3. Now add the following directive into the textbox:

----------------------------------------------------

<IfModule lsapi_module>
lsapi_enable_user_ini On
</IfModule>
---------------------------------------------------

Save your changes, and make sure Apache is restarted.


Now changes made in MultiPHP INI Editor should work, even with lsapi enabled.

photo
1

For security reasons, I do not recommend that you use this (lsapi_enable_user_ini On).The user can override settings in php.ini that shouldn't.

photo
photo
4

I really think that cPanel team should provide better and continuous support for lsapi.

PHP-FPM is complicated and require a lot of trials and errors configuration in order to get it right. The big dawnside to PHP-FPM is if the configuration is not ideal, the client's application comes to halt. That is not good at all.

Most of us developers are focused on development and it is time consuming and difficult for us to try to master this complicated PHP-FPM software.

So, cPanel team, please continue providing better support for lsapi because it is much simpler to configure and maintain.

We appreciate you and we hope we can continue promoting and saying good things about cPanel.

Leave a Comment
 
Attach a file