#1  
Old 31st December 2008, 14:52
TheFuzzy0ne TheFuzzy0ne is offline
Member
 
Join Date: Aug 2008
Posts: 32
Thanks: 3
Thanked 0 Times in 0 Posts
Default Installing suPHP

Hello. I followed the setup instructions for Debian 4.0 to the letter, but whenever I reload the server, I see:

Syntax error on line 27 of /etc/apache2/sites-enabled/thefuzzy0ne.co.uk.vhost:
Invalid command 'suPHP_Engine', perhaps misspelled or defined by a module not included in the server configuration

How do I install suPHP on my server?

Thanks.

EDIT: Hang on. I just found http://www.howtoforge.com/install-su...2.20-and-above . Looks like the answer was in front of my face the entire time.

Should ISPConfig allow this option to be selected if it's not installed?
Reply With Quote
Sponsored Links
  #2  
Old 31st December 2008, 15:31
TheFuzzy0ne TheFuzzy0ne is offline
Member
 
Join Date: Aug 2008
Posts: 32
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Installing suPHP fixed the problem, as well as most of the problems mentioned in this post

Thanks for such a straight forward tutorial.
Reply With Quote
  #3  
Old 3rd January 2009, 19:43
mghens mghens is offline
Junior Member
 
Join Date: Jan 2009
Posts: 19
Thanks: 3
Thanked 2 Times in 2 Posts
Cool

The tutorial did not help with ISPConfig 3.0.0.8 RC1

If I install Debian 4 etch: libapache2-mod-suphp, ISPConfig crashes with:


SoftException in Application.cpp:202: Script "/usr/local/ispconfig/interface/web/index.php" resolving to "/usr/local/ispconfig/interface/web/index.php" not within configured docroot
Reply With Quote
  #4  
Old 4th January 2009, 00:50
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,623
Thanks: 792
Thanked 4,992 Times in 3,909 Posts
Default

This tutorial is not for ISPConfig 3. If you installed suphp this way, uninstall it a sthis is not compatible with ISPConfig 3.

For ISPConfig 3, just follow exactly the installation instructions in the ispconfig 3 tar.gz file, they contain everything incl. suphp. The error you describe happens because you followed the tutorial above instead of the ispconfig 3 instructions.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 4th January 2009, 02:33
mghens mghens is offline
Junior Member
 
Join Date: Jan 2009
Posts: 19
Thanks: 3
Thanked 2 Times in 2 Posts
Default

Till,

I did my install using: INSTALL_DEBIAN_4.0.txt

in the ispconfig3_install directory, SuPHP is only mentioned in the INSTALL_UBUNTU_8.04.txt directions.

grep -i suphp *
INSTALL_UBUNTU_8.04.txt:3.1) Optional: Install SuPHP
INSTALL_UBUNTU_8.04.txt:apt-get install libapache2-mod-suphp
INSTALL_UBUNTU_8.04.txt:vi /etc/suphp/suphp.conf

Michael
Reply With Quote
  #6  
Old 4th January 2009, 12:40
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,623
Thanks: 792
Thanked 4,992 Times in 3,909 Posts
Default

1) Undo everything you did as you followed the other suphp howto.
2) Check that everything is working again.
3) run this to install suphp:

apt-get install libapache2-mod-suphp
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 4th January 2009, 17:44
mghens mghens is offline
Junior Member
 
Join Date: Jan 2009
Posts: 19
Thanks: 3
Thanked 2 Times in 2 Posts
 
Default

For Debian, you might want to add.

In /etc/apache2/mods-available/suphp.conf

comment out:

AddHandler x-httpd-php .php .php3 .php4 .php5 .phtml
suPHP_AddHandler x-httpd-php

Change
suPHP_Engine on
to
suPHP_Engine off

Changes to /etc/suphp/supphp.conf are the same as Ubunto
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Server Setup With Exim, MySQL, Cyrus-Imapd, Horde Webmail On Centos 5.1 - works? gsp HOWTO-Related Questions 124 21st April 2010 20:53
Poroblem after installing suphp kyriakos Installation/Configuration 8 25th November 2008 11:19
Problem installing and configuring suPHP on Debian 4.0 Etch DirtyMonkey Installation/Configuration 5 2nd October 2008 12:18
Problems with installation on openSUSE 10.2 douglaslopezt Installation/Configuration 3 24th August 2007 22:04


All times are GMT +2. The time now is 18:26.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.