FastCGI and Apache not loading pages
I am trying to set up my Apache server with FastCGI as the CGI engine. It will be mostly running PHP, but I may add Perl or something else later. I started from a completely fresh install of Ubuntu 11.04 with every update available. I used the install CD to install a LAMP server as part of the system install.
I am using the tutorial at http://www.chriswiegman.com/2010/06/...ithout-varwww/ to add the FastCGI functionality. I am having some problems with getting everything to work.
The first problem was that apache2-suexec-custom wouldn't accept a different document root. I fixed that by compiling apache2-suexec from source with the document root changed to the correct path.
The next problem is that every php page I load throws a 500 error. Apache's error logs show that FastCGI isn't returning the page data correctly to Apache.
Any idea what could be causing this? Any help would be greatly appreciated.
I just got it working. It turns out that I had the fcgi php wrapper script pointing to the wrong php5 executable.
|All times are GMT -5. The time now is 03:53 AM.|