Re: [PHP-INSTALL] FastCGI + PHP 4.4.9

[email protected] (Crashdemon)
Newsgroups php.install
Message-ID <[email protected]>
Ferenc Kovacs schrieb:
> On Sun, Aug 15, 2010 at 2:11 PM, Crashdemon
> <[email protected]>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
> 
I've solved the problem by myself, the solution is to remove the
--with-apxs and/or --with-apxs2 options

Crashdemon
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.