• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

suPHP and httpd.include

H

HighKing

Guest
Hi,

We have a few new Plesk 8.3 / CentOS 5 machines that we are not using yet. We will migrate our shared servers to Plesk eventually. One thing we have on the shared servers is suPHP. We like this, because scripts run as the ftp-user, and not as 'apache' or whatever. This also helps us to track down hacked sites very easily, since the user name can be seen in the process list of the server. Besides the security advantages, a lot of our users have personal php.ini files.

Now I think moving to Plesk without suPHP as a step backwards. I don't like the idea...
Off course, I can manually install suPHP and I can manually update every vhost... but I don't like that idea as well...

The only problem I can think off with installing suPHP, is the vhost configuration. Is there any way of changing the httpd.include in advance? I just need it to have the next line in it:
Code:
suPHP_UserGroup $ftpuser psacln
where $ftpuser off course has to be replaced by the actual ftp username.

I understand I could make use of vhost.conf, but then I still need a way of including that in httpd.include automatically.

Does anyone know how to do this?
BTW: I think it's a shame Parallels doesn't support suPHP out of the box...
 
Also use suphp, but the file is overwritten httpd.include
automatically. Prompt it is possible to override the domain config?
p.s.
Config zz010_psa_httpd.conf not offer, he also is overwritten automatically
 
всё просто,
отключил поддержку php в настройках домена, соответственно настройки mod_php затираются в httpd.include.
настройки suphp прописал в vhost.conf
 
Back
Top