build fastcgi without suphp

bbob

New member
Joined
Feb 27, 2009
Messages
1
Last night I changed from cli to build php under cgi.

Before that I was using suexec / apache and php info showed apache as handler.

In configure I changed php5 cli to no and cgi to yes.
./build php n

and the new php was build using fastcgi.
When showing php.info the handler was now cgi/fastcgi

The only problem is that it seems that suphp was also installed and xcache does not seem to work together with suphp at least it does not show up in the phpinfo anymore. So overnight I changed back to building php using cli and everything works fine.

I would like to compile fastcgi together with suexec so I can keep using xcache to improve speed. I am working with magento and from all I read is that fastcgi should make magento run faster, together with xcache or eaccelerator.

As I am a linux beginner I have no clue where to start.

I did find this thread: http://www.directadmin.com/forum/showthread.php?t=28758

I did just that two weeks ago on a developement box and placed it tonight in production. FastCGI+APC, perfect config, almost compatible with DA and custombuild conf overwrite.
It's very stable and worth the effort.

But there is no guide how to do it. I only read alsmost compatible with DA so I can only asume it's not an out of the box solution.

Can anyone give me some help, where and how to start.
 
Back
Top