Home  |  Linux  | Mysql  | PHP  | XML
From:Ferenc Kovacs Date:Sun Aug 15 13:46:30 2010
Subject:Re: FastCGI + PHP 4.4.9
On Sun, Aug 15, 2010 at 2:11 PM, Crashdemon
<webmaster@defcon-cc.dyndns.org>wrote:

> Hello Guys,
>
> I want to compile PHP 4.4.9 on Red-Hat Linux with FastCGI support but
> it fails. I've compiled it with the following options:
>
> ../configure --prefix=/usr/local/php --enable-fastcgi
> --with-apxs2=/usr/local/httpd/bin/apxs --with-mysql=/usr/local/mysql
> --with-zlib-dir=/usr/lib/ --enable-versioning --enable-track-vars=yes
> --enable-url-includes --enable-sysvshm=yes --enable-sysvsem=yes
> --enable-ftp --enable-calendar --with-config-file-path=/etc --with-gd
> --with-jpeg-dir=/usr/lib/ --with-png-dir=/usr/lib/ --enable-discard-path
> --enable-force-cgi-redirect --with-mcrypt --enable-sockets
> --enable-bcmath --with-freetype-dir=/usr/lib/
>
> But after make and make install (without failures) the command
> php -v shows me the following:
>
> PHP 4.4.9 (cli) (built: Aug 14 2010 18:04:54)
> Copyright (c) 1997-2008 The PHP Group
> Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
>
> I think it should be (cgi-fcgi) and not (cli).
>
> Why it wont work, configure options should be right to compile with
> fcgi support.
>
> I need fast-cgi for lighttpd.
>
>
> Crashdemon
>


first of all php 4 doesn't supported anymore.
second: if you execute php from command line (eg: php -v) itt will use the
cli interface obviously.

Tyrael

Navigate in group php.install at sever news.php.net
Previous Next


Your recent visits
Re: [PHP-DB] Re: Need Help with database output
Re: Need Help with database output
FW: Having "configure" problem with PHP 5.2.14 and EasySoft unixODBC
Need Help with database output
RE: [PHP-WIN] PHP Debugger for Windows?



  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.
Site Maintained by Zareef Ahmed
Powered By PHP Consultants