switch from suphp to mod_lsapi
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and DirectAdmin
  1. pasamsin
  2. 22.10.2018
  3.  Subscribe via email
I'm planning to switch from suphp to mod_lsapi. When using suphp, it's possible to write/remove files via PHP without changing directory permissions. Would it be possible with mod_lsapi? Does it execute as nobody like mod_dso or suexec like suphp?

How can I forbid users from editing php.ini? I need them to be only able to makes changes using the PHP selector.

Last of all, when I limit Apache EP and NPROC to 10 in suphp, requests pile up and the server hangs. Would a similar problem occur with mod_lsapi?
Rate this post:
  1. 24.10.2018 13:10:03
  2. # 1
Igor Ghertesco Accepted Answer
Posts: 153
Joined: 07.08.2015

1. mod_lsapi runs each PHP instance from the username, it does not act like DSO.

2. By default, php.ini in the user's home directory is ignored, this can be adjusted by setting lsapi_enable_user_ini to on (more info you can find in our doc section: https://docs.cloudlinux.com/index.html?apache_mod_lsapi.html)

3. Usually, NPROC limit should be bigger than EP, say 70-80, as it controls the number of processes inside LVE. You may refer to our KB entries:
  • Page :
  • 1

There are no replies made for this post yet.
Be one of the first to reply to this post!
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.