Home  |  Linux  | Mysql  | PHP  | XML
From:Crashdemon Date:Sun Aug 15 14:00:59 2010
Subject:Re: FastCGI + PHP 4.4.9
Ferenc Kovacs schrieb:
> 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
>
I've solved the problem by myself, the solution is to remove the
--with-apxs and/or --with-apxs2 options

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


Your recent visits
XDebug hinders Apache
RE: [PHP-WIN] MySQL Configuration on Windows Box with Apache and PHP
Re: [PHP-INSTALL] Problem with multiple libxml
Unable to connect to mysql database
LMPX.COM :: Linux, Mysql, Php, Xml



  
© 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