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-programI 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-redirec
t --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.htmlI 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