Hello,
I am running LS Enterprise on CentOS 6.9 on WHM as follows:
- Run on Startup: NO
- Auto Start: Through CGI Daemon
- PHP suEXEC: Yes
- On WHM pre_virtualhost_global.conf:
- Open Base Dir enabled on WHM
When I edit some of the values using cPanel's GUI, especially max execution, memory limit and max upload, they work no problem.
However, using the same GUI, if I enable url fopen, nothing happens. I checked on a phpinfo and neither of the local files php.ini or .user.ini are being loaded.
I particularly need to set these but they are being entirely ignored?
So my question is how to make LS load user .ini files and also, why in the world is it reading properly the max execution and other vars, but not others. Do I need to manually enable which directives LS will load via a user ini?
Many thanks
I am running LS Enterprise on CentOS 6.9 on WHM as follows:
- Run on Startup: NO
- Auto Start: Through CGI Daemon
- PHP suEXEC: Yes
- On WHM pre_virtualhost_global.conf:
<IfModule LiteSpeed>
LSPHP_ProcessGroup on
LSPHP_Workers 15
</IfModule>
- On LS External App > Environment added "LSPHP_ENABLE_USER_INI=on"LSPHP_ProcessGroup on
LSPHP_Workers 15
</IfModule>
- Open Base Dir enabled on WHM
When I edit some of the values using cPanel's GUI, especially max execution, memory limit and max upload, they work no problem.
However, using the same GUI, if I enable url fopen, nothing happens. I checked on a phpinfo and neither of the local files php.ini or .user.ini are being loaded.
I particularly need to set these but they are being entirely ignored?
Code:
upload_tmp_dir = /something/else
opcache.enable=1
opcache.enable_cli=1
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1
Many thanks
Last edited by a moderator: