Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th March 2013, 04:23
holykim holykim is offline
Member
 
Join Date: Jan 2009
Posts: 54
Thanks: 17
Thanked 4 Times in 3 Posts
Default PHP-FPM does not parse PHP code

I have installed ISPConfig 3.0.5.1 on one of my servers as a slave refer to the following tutorial "The Perfect Server - CentOS 6.4 x86_64 (Apache2, Dovecot, ISPConfig 3)". For use multiple PHP versions I also installed PHP-FPM with the following tutorial "How To Use Multiple PHP Versions (PHP-FPM & FastCGI) With ISPConfig 3 (CentOS 6.3)".

Both default and additional FastCGI works perfect but PHP-FPM doesn't seem to be working as the below code shows a blank page. PHP-FPM doesn't parse PHP code with some reason but I can not figure it out. Please advise.

PHP Code:
<?php phpinfo(); ?>
Thanks in advance.

Harry
Reply With Quote
The Following User Says Thank You to holykim For This Useful Post:
feeninuoumn (27th September 2014)
Sponsored Links
  #2  
Old 28th March 2013, 05:23
holykim holykim is offline
Member
 
Join Date: Jan 2009
Posts: 54
Thanks: 17
Thanked 4 Times in 3 Posts
Default

Quote:
Originally Posted by holykim View Post
I have installed ISPConfig 3.0.5.1 on one of my servers as a slave refer to the following tutorial "The Perfect Server - CentOS 6.4 x86_64 (Apache2, Dovecot, ISPConfig 3)". For use multiple PHP versions I also installed PHP-FPM with the following tutorial "How To Use Multiple PHP Versions (PHP-FPM & FastCGI) With ISPConfig 3 (CentOS 6.3)".

Both default and additional FastCGI works perfect but PHP-FPM doesn't seem to be working as the below code shows a blank page. PHP-FPM doesn't parse PHP code with some reason but I can not figure it out. Please advise.

PHP Code:
<?php phpinfo(); ?>
Thanks in advance.

Harry
I have fixed this issue with the following three steps.
Thanks Lionheart82 for your update at http://www.howtoforge.com/forums/showthread.php?t=61040

1. install mod_fastcgi ( yum install mod_fastcgi )
2. FastCgiWrapper Off in /etc/httpd/conf.d/fastcgi.conf
3. restart Apache.

Hope this will be added to the tutorials.

Thanks.
Reply With Quote
The Following User Says Thank You to holykim For This Useful Post:
feeninuoumn (3rd April 2014)
  #3  
Old 1st January 2014, 21:51
mattheoh mattheoh is offline
Junior Member
 
Join Date: Jan 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Hi,

I continue this thread 'cause I have a similar issue.
I installed an additional PHP version followinf this tuto : How To Use Multiple PHP Versions (PHP-FPM & FastCGI) With ISPConfig 3 (Ubuntu 13.04)

I m on a Gentoo, but the process is the same...

I just followed the first step for PHP-FPM with PHP 5.3.24
(I had already PHP 5.4 installed and I just wanted ti use the 5.3 for a website)

unfortunately PHP is not parsed too...

I installed mod_fastcgi as written below, and here's my fastcgi.conf :

Code:
<IfModule mod_fastcgi.c>
  AddHandler fastcgi-script .fcgi
  #FastCgiWrapper /usr/lib/apache2/suexec
  FastCgiIpcDir /var/lib/apache2/fastcgi
</IfModule>
If someone have an idea, he's welcome ;-)
thanks per advance
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
Only Problems since Updating from 3.0.3.3 to 3.0.4.1 mbay General 4 17th May 2012 13:56
ubuntu and nginx delgado2061 Installation/Configuration 0 28th November 2011 00:36
Problem with services!! banzaiwebstudio.com Installation/Configuration 7 19th May 2010 22:13
Unable to install ISPConfig bdonecker Installation/Configuration 21 26th May 2009 09:20
Apache2 Freezes celtic Server Operation 31 28th May 2007 18:18


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


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