Comments on How To Install suPHP On Various Linux Distributions For Use With ISPConfig (2.2.20 And Above)
How To Install suPHP On Various Linux Distributions For Use With ISPConfig (2.2.20 And Above) Starting with version 2.2.20, ISPConfig has improved support for suPHP. This article explains how to install suPHP on various distributions supported by ISPConfig. (If you have used suPHP with previous ISPConfig versions, your installation will still work.)
5 Comment(s)
Comments
suphp 0.6.3 was released and it closes a security bug.
use it instead of the 0.6.2 mentioned in the guide.
On Centos it seems that's also needed as a dependence to install libtool (at least on Centos 5 x86_64) and the compilers of course:
yum install gcc gcc-c++ kernel-devel libtool
You need to do this before you configure the suphp package or you'll need to restart from the tar.gz file because of the configure already been made.
for more recent versions of suphp (i currently have 0.7.2) you need to adjust things in /etc/suphp.conf. It must now look like this at the end of the config:
;Handler for php-scripts x-httpd-php="php:/home/admispconfig/ispconfig/tools/suphp/usr/bin/php-wrapper" ;Handler for CGI-scripts x-suphp-cgi="execute:!self"
you will notice that there are added double quotes ("") for the parameter values.
Nevermind the version used here. Install the newest possible version.
Note that for operation on Ubuntu 9.10 the compile of suPHP will fail due to an incompatibility with libtool, unless you use a slightly newer version of the suPHP sources. I used 0.6.3 instead of 0.6.2, which is now recommended as 0.6.2 has security issues. I haven't tried the 0.7 variant yet.