HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Does PHP 5.2 work as alternativ php-version? (http://www.howtoforge.com/forums/showthread.php?t=61124)

vistree 25th March 2013 13:32

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 zurückgesetzt: 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?

vistree 27th March 2013 16:12

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

falko 28th March 2013 17:01

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.


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

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