Comments on How To Set Up suPHP On A Debian Etch Based ISPConfig Server
How To Set Up suPHP On A Debian Etch Based ISPConfig ServerWhen you've set up suPHP on your ISPConfig server, you are able to run the PHP scripts under the admin user of the website instead of www-data. In general, this howto is the same as my howto "How To Set Up suPHP On A Debian Sarge Based ISPConfig Server" at http://www.howtoforge.com/suphp_debian_ispconfig but it contains some small but important modifications for Debian Etch.
3 Comment(s)
Comments
After performing the command apt-get install php5-cgi, mysql is not longer enabled. Since the tutorial is for suphp, and most of the questions that lead you here are related to ISPCONFIG, an optional step should be included to reinstall the php5 modules. To reinstall mysql, I issued the command apt-get install php5-mysql php5-mysqli --reinstall.
I discovered this issue after having a successful Mambo installation that now would give site not available error with a 1 at the bottom of the page. Then running the mysqlcheck.php script also found on this site showed that the mysql.connect function could not be found.
Thank you for providing such excellent tutorials. I find them very useful and complete.
After updating ispconfig I have found that some of the configuration setting for suphp can revert back to there original settings so its a good idea to check these settings after doing an ispconfig update
Particularly the /home/admispconfig/ispconfig/lib/config.inc.php file can revert to its previous setting of 'Both' instead of 'suphp'
upgrade the guide to use suphp-0.6.3
replace:
wget http://www.suphp.org/download/suphp-0.6.2.tar.gz
tar xvfz suphp-0.6.2.tar.gz
cd suphp-0.6.2
vi src/apache2/mod_suphp.c
with:
wget http://www.suphp.org/download/suphp-0.6.3.tar.gz
tar xvfz suphp-0.6.3.tar.gz
cd suphp-0.6.3
vi src/apache2/mod_suphp.c
it works well also with latest version