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.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 19th September 2010, 12:24
ashleykaryl ashleykaryl is offline
Junior Member
 
Join Date: Jul 2010
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Default Trying to switch from mod_php to mod_fcgi

I have a server which seems to be working fine for the most part except with a wordpress install, where it is proving impossible to apply any updates either to plugins or wordpress itself. This became apparent as the server was being set up but the server manager I hired liked to go walkabout for extended periods and eventually disappeared.

I have just hired another server manager to look at this and he tells me this problem exists because the server has been set up using mod_php which he advises against and said it could be fixed by switching to mod_fcgi. After many hours of trying however, every time he attempts to fix this and restarts the httpd you see the "Internal Server Error" page with the error in the logs. He has tried changing the client limits.

He said:

"The fix is to use either:

suPHP
CGI
FastCGI

which run under the sites username. Any files made are made under your name, which resolves the plugin issue. The only PHP process that works on your server is mod_php, which, while fast, is not that secure as it runs under "apache".

FastCGI and CGI come up with the same issue:

[Sun Sep 19 05:06:45 2010] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error.
[Sun Sep 19 05:06:45 2010] [error] [client 124.168.0.12] Premature end of script headers: phpinfo.php

suPHP also refuses to work."

Does anybody here know how to get this to work? It seems to be surprisingly tricky.

Thanks

Ashley
Reply With Quote
Sponsored Links
 

Bookmarks

Tags
fastcgi, permissions, php, user, wordpress blogs

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
How to switch KDE environment to GNOME in Suse? thongstele Desktop Operation 1 3rd May 2010 14:02
USB KVM switch slow mouse and keyboard mcardo Technical 0 2nd March 2009 04:25
Capability to switch between php4 and php5 cooljai Programming/Scripts 1 12th June 2007 13:09
Munin & snmp switch monitoring sgrichkosey HOWTO-Related Questions 2 26th September 2006 18:09
how to switch from proftpd to vsftp Cirox Installation/Configuration 4 19th March 2006 21:42


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


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