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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th March 2013, 14:32
vistree vistree is offline
Member
 
Join Date: Aug 2006
Posts: 61
Thanks: 2
Thanked 4 Times in 3 Posts
Default Does PHP 5.2 work as alternativ php-version?

Hi, I tried to setup php 5.2.17 on a ispconfig 3.0.5.1 with php 5.3 as default (debian squeeze).
I used this tutorial as reference:
http://www.howtoforge.com/building-p...debian-squeeze

During compinling I got a note, that --enable-intl is an unknown option.
The rest was fine.

Now, when I activate fast-cgi -> 5.2.17 for an old drupal site (which displays fine with 5.3 but brings php5.3 incomp. errors) the web renders an error 500.
Debugging is hard and the only hint I find is the following error (error.log):
Code:
[Mon Mar 25 13:04:28 2013] [warn] [client XX.XXX.XX.XXX] (104)Die Verbindung wurde vom Kommunikationspartner zurckgesetzt: mod_fcgid: error reading data from FastCGI server
[Mon Mar 25 13:04:28 2013] [error] [client XX.XXX.XX.XXX] Premature end of script headers: index.php
Is there anything special on php 5.2?
Reply With Quote
Sponsored Links
  #2  
Old 27th March 2013, 17:12
vistree vistree is offline
Member
 
Join Date: Aug 2006
Posts: 61
Thanks: 2
Thanked 4 Times in 3 Posts
Default

OK, found the solution here:
http://www.howtoforge.com/forums/sho...hlight=php+5.2

For php 5.2 we have to compile php with --enable-fastcgi option

Last edited by vistree; 27th March 2013 at 21:18. Reason: Solution found
Reply With Quote
The Following User Says Thank You to vistree For This Useful Post:
falko (28th March 2013)
  #3  
Old 28th March 2013, 18:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Please note that you cannot use PHP 5.2 as PHP-FPM with ISPConfig because the FPM configuration had a different syntax prior to PHP 5.3.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
Centos 6.0 support Acid_Scorpion Developers' Forum 47 16th September 2011 11:36
Problem with services!! banzaiwebstudio.com Installation/Configuration 7 19th May 2010 22:13
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 18:26
ispconfig php 5 errors itamarjp Installation/Configuration 8 25th April 2008 11:20
Slightly Confused (DNS & Server Help) JohnnyBGoode Installation/Configuration 26 14th August 2007 10:54


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


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