Hey guys!
Im having some real issues trying to get php to compile outside of Apache Update.
Maybe you can take a look at my steps and see whats going wrong? I am trying to compile php 4.4.4 as fastCGI but it wont stick:
/usr/local/php5-fcgi/bin/php -v gives me:Code:wget http://us2.php.net/get/php-4.4.4.tar.bz2/from/this/mirror tar xjvf php-4.4.4.tar.bz2 cd php-4.4.4 ./configure --prefix=/usr/local/php4-fcgi --with-xml --enable-bcmath --enable-calendar --with-curl --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --enable-magic-quotes --with-mysqli --with-mysql=/usr --enable-discard-path --with-pear --with-pspell --enable-sockets --enable-track-vars --enable-versioning --with-zip --with-zlib --enable-fastcgi --enable-force-cgi-redirect --disable-cli make make install
I noticed that it still says PHP 4.4.3 (cli) and not PHP 4.4.3 (fastCGI) but it creates a binary in /usr/local/php4-fcgi/bin. I already have fastCGI setup and ready to go as an apache_mod so I think the issue is me not being able to make my server use that specific fastCGI binary. Please let me know if im completely wrong here. I've just tried to get this to work for about a week now and no ones been able to help me :-(Code:PHP 4.4.3 (cli) (built: Dec 15 2006 22:38:47) Copyright (c) 1997-2006 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with eAccelerator v0.9.3, Copyright (c) 2004-2005 eAccelerator, by eAccelerator with Zend Extension Manager v1.0.9, Copyright (c) 2003-2006, by Zend Technologies with Zend Optimizer v2.6.2, Copyright (c) 1998-2006, by Zend Technologies
Update:
I changed my config from --prefix=/usr/local/php4-fcgi to --prefix=/usr and ran make / make install and then all my pages returned 500's. So I had to rebuild the site through apache update to fix it.
Thanks for the help!
here's my php info file http://www.crgn.net/network/info.php


LinkBack URL
About LinkBacks
Reply With Quote