Advertisement

03.25.2008 at 09:19PM PDT, ID: 23269451 | Points: 500
[x]
Attachment Details

Compile PHP5 with Fast CGI support

Asked by briancassin in PHP Installation, PHP Scripting Language, WebApplications

Tags:

Hello all
I have a an installation of Ubuntu server 7.10 and I am trying to install the following apps to work together (i am using the latest versions of everything with the exception of mysql which is being installed through apt-get

lighttpd
php5.x
mysql

Specfically what I want to do is have a PHP5 with FastCGI, Lighttpd, MySQL and maybe eaccelerator installed all together. Also I have to be able to do rewrites with PHP

I have followed the directions here
http://trac.lighttpd.net/trac/wiki/Docs%3AModFastCGI#preparing-php-as-a-fastcgi-program

I downloaded PHP using wget to the following directory
/var/tmp
i then did tar xzvf php5.x    to untar it
i then cd into the php directory
I ran this code
 ./configure --enable-fastcgi --enable-force-cgi-redirect --without-apache --without-apxs
it configured successfully
I then did
make
make install
I then went to type php -v and it tells me it cannot be found
if I do apt-get install php5   it wants to install php5, php5-common, php5-cli,
if I tell it to install those things and then check php with php -v I get php (cli) instead of fast-cgi

I am apparently missing something here I am new to linux so maybe I am making some newbie mistake when they give the instructions to compile it with fast-cgi support...
It said in the above tutorial or one of the other ones that PHP includes fast CGI but I do not see anything on PHP's site documenting that do I need to install Fast-CGI seperately ?   http://www.fastcgi.com/


I also tried these docs

this one worked but it was only using CGI not fast CGI
http://www.ubuntugeek.com/lighttpd-webserver-setup-with-php5-and-mysql-support.html

I looked at this but it just seemed to be an overview
http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html

I have not tried this one yet
http://blog.kovyrin.net/2006/05/30/nginx-php-fastcgi-howto/


I am totally confused please help I need to get my server up and running it has been down for two weeks ever since apache because a resource hog and super slow. Start Free Trial
[+][-]03.26.2008 at 12:06AM PDT, ID: 21209364

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.26.2008 at 03:31AM PDT, ID: 21210155

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.26.2008 at 04:31AM PDT, ID: 21210493

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.26.2008 at 04:59AM PDT, ID: 21210648

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.26.2008 at 10:26AM PDT, ID: 21214094

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.26.2008 at 10:43AM PDT, ID: 21214295

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.26.2008 at 10:47AM PDT, ID: 21214338

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.26.2008 at 11:03AM PDT, ID: 21214488

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.26.2008 at 11:42AM PDT, ID: 21214852

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.26.2008 at 02:22PM PDT, ID: 21216343

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.26.2008 at 02:54PM PDT, ID: 21216752

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.26.2008 at 03:10PM PDT, ID: 21216912

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.26.2008 at 03:28PM PDT, ID: 21217074

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.26.2008 at 03:54PM PDT, ID: 21217283

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.26.2008 at 08:26PM PDT, ID: 21218298

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.27.2008 at 05:06AM PDT, ID: 21220402

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.27.2008 at 06:04AM PDT, ID: 21220821

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.27.2008 at 06:27AM PDT, ID: 21221042

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.27.2008 at 09:59AM PDT, ID: 21223551

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.27.2008 at 11:21AM PDT, ID: 21224342

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.27.2008 at 05:23PM PDT, ID: 21227016

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.27.2008 at 05:32PM PDT, ID: 21227053

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.04.2008 at 09:03AM PDT, ID: 21283097

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.06.2008 at 06:56PM PDT, ID: 21293921

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.07.2008 at 06:21AM PDT, ID: 21296575

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628