Linux + suPHP + eAccelerator = Wont work?

Posted on 2010-11-28
Medium Priority
Last Modified: 2012-05-10
Anyway straight to the point, from what I have read you cannot have suPHP and eAccelerator installed together because of how eAcclerator process the request and how suPHP issues them are not compatible so I had to run apache as DSO and install fcgid to get eAccelerator to cache php file correctly and that is not a problem.

My problem lies with permissions for example wordpress, when I had the server running suPHP all was working fine but that was do to the fact that suPHP runs everything as the account owner but when I switched to DSO wordpress allways ask me to "chmod this file/folder" or "it can't edit this file because etc..." I have alot of sites on the server and for me to FTP back and fourth and change the persmissons of all these files just to edit them and then change them back is gonna cause me to scissor kick my pc.

Dose anyone have a suggestion as to what I can do to emulate the behavior of suPHP which allows the scripts to run as there owner?
Question by:72impala
LVL 62

Accepted Solution

gheist earned 672 total points
ID: 34228343
there are other accelerators which are more stable than eAccelerator.
i suggest to start without accelerator to resolve the problem.
LVL 43

Assisted Solution

ravenpl earned 664 total points
ID: 34228392
You could use http://mpm-itk.sesse.net/ - however only few distros are shipping apache with this module(actually I know about gentoo only). Anyway, if You don't mind maintaining/compiling apache by hand it's the solution for You.

Assisted Solution

by:Kailash Aghera
Kailash Aghera earned 664 total points
ID: 34233075
For security point of view, I suggest to use suPHP and find another accelerators which work with suPHP.
LVL 16

Expert Comment

by:CWS (haripriya)
ID: 36321074
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
The viewer will learn how to dynamically set the form action using jQuery.

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question