|
I tried suphp but it was too slow for my purposes. On my vps it was only about 10% as fast as mod_php. So I pulled it and looked into fastcgi and suexec as being a really good alternative. Now that it is setup I find it quite close to the speed that mod_php provides without the security implications. Also unlike suphp I can use eaccelerator and it will cache my php scripts. You just have to be very careful not to delete php.fcgi from your html document root.
I also had to build a copy of PHP 4 from source for use on this purpose. That was easy and I built all of the modules as shared modules. So I can (or anyone else) can add/remove modules at will. The only thing that is required is to kill the associated php processes so that it loads up the new ini file.
Last edited by shinji; 05-10-2006 at 09:39 PM.
|