• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Switch from mod_php to php as cgi

P

popminister

Guest
It seems to be impossible to setup a secure mod_php environment because of some famous php-scripts which won't run with secure settings.

You can put the scripts into the open_basedir jail but if you don't use the option to disable functions like exec() or system() users still can browse through foreign directories. This is because of the fact that all scripts run from the same user account e.g. apache which has got the rights to access all users web directories.

So at the moment it seems for me to be the best solution to switch back to the cgi solution like it was used in confixx, which was my last controlpanel software.

The cgi-solution makes it impossible to run the scripts with the rights of the webuser and so the users can't access foreign directories.

But the question is: How can this be done with plesk? I need to modify the entries which plesk adds to all virtual host directives it writes into /etc/httpd/httpd.include.

Any ideas?

Thanks in advance

Popminister
 
There seem to be some other ideas on how to make php run secure in shared hosting environments:

Look here

But none of them is already advised to be ran in production environments.

Has anybody some better ideas or a solution?
 
Back
Top