Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 27th December 2008, 15:33
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,263
Thanks: 216
Thanked 649 Times in 295 Posts
Exclamation suPHP 0.7.0 compatible with ISPConfig2 ?

On 25-12-2008 suPHP 0.7.0 has been released. Within this release, some major items has slightly changed and for this reason, i was wondering if it is compatible with the current ISPConfig version 2.2.29.

On a Debian test-server with ISPConfig 2.2.29 and suPHP 0.6.3 installed, i did the following to upgrade suPHP to version 0.7.0:

cd /tmp
wget http://www.suphp.org/download/suphp-0.7.0.tar.gz
tar xvfz suphp-0.7.0.tar.gz
cd suphp-0.7.0
./configure --prefix=/usr --sysconfdir=/etc --with-apache-user=www-data --with-setid-mode=paranoid --with-apxs=/usr/bin/apxs2
make
make install

The result:
sites which make use of suPHP did not work anymore and an Internal server error occurred. Within the log file of the web i saw errors like:

SecurityException in Application.cpp:511: Unknown Interpreter: php
Premature end of script headers: index.php

Within the log file /var/log/suphp.log nothing appears.

Probably, to use suPHP 0.7.0 on an ISPConfig 2 server some items need to be configured. Anyway, after puzzling for some time, i don't get it to work the normal way.

Maybe this problem is because suPHP_AddHandler and suPHP_RemoveHandler directives can now be used on per vhost level, but i'm not sure.

Can you ISPConfig developers have a look at this behaviour and find a solution. Until then, i don't recommend to upgrade to suPHP 0.7.0 yet. (Remember that ít is not a security release).

Thanks in advance!
__________________
Hans

MrHostman | Managed Hosting

Last edited by Hans; 27th December 2008 at 16:05.
Reply With Quote
Sponsored Links
 

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
suPHP file permission catalyst General 14 7th March 2010 02:16
Problem installing and configuring suPHP on Debian 4.0 Etch DirtyMonkey Installation/Configuration 5 2nd October 2008 13:18
Goal: user separation (but apache can't read what suPHP wrote) berny Installation/Configuration 1 26th April 2008 19:22
suPHP Problem with user webs Lobanak Installation/Configuration 2 2nd October 2007 00:29


All times are GMT +2. The time now is 17:49.


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