Symptoms
When updating PHP settings via the cPanel MultiPHP INI Editor, the changes are not applied to the domain's PHP environment.
Cause
When using the Mod_LSAPI PHP handler, the default configuration does not read local user INI files. As a result, switching your PHP handler to the CloudLinux-provided Mod_LSAPI will prevent the MultiPHP INI Editor from working as expected. To restore this interface's functionality, you will need to modify LSAPI's default configurations.
Resolution
- Access the server's command line as the
rootuser via SSH or Terminal in WHM. - Open
/etc/apache2/conf.d/lsapi.confin your preferred text editor. -
Remove the
#from thelsapi_enable_user_iniline and change the value toOn.CONFIG_TEXT: lsapi_enable_user_ini On
-
Remove the
#from thelsapi_user_ini_homedirline and change the value toOn.CONFIG_TEXT: lsapi_user_ini_homedir On
- Save the changes and exit the text editor.
-
Restart the Apache service.
# /usr/local/cpanel/scripts/restartsrv_apache
Comments
0 comments
Article is closed for comments.