Want a answer about php-cgi

Want a answer about php-cgi

am 21.04.2010 12:17:37 von amoiz.shine

hi,everyone

I installed php 5.3.2 from source.
this is my configurate string:
$ ./configure --prefix=/usr/local/php --bindir=/usr/local/bin
--sbindir=/usr/local/sbin --sysconfdir=/etc/sysconfig
--localstatedir=/var --enable-fpm --enable-calendar
--enable-dba-shared --enable-exif --enable-ftp --enable-gd-native-ttf
--enable-intl --enable-mbstring --enable-soap --enable-sockets
--enable-wddx --enable-zip --enable-zend-multibyte
--with-libevent-dir=/usr/local/libevent --with-fpm-user=http
--with-fpm-group=web --with-config-file-path=/etc/sysconfig/php.ini
--with-openssl --with-kerberos --with-zlib --with-bz2 --with-gd
--with-mhash --with-imap --with-imap-ssl --with-ldap --with-mcrypt
--with-mysql=/usr/local/mysql --with-mysql-sock=/tmp
--with-mysqli=/usr/local/bin/mysql_config --with-xmlrpc

after make install.

i can not find php-cgi file in the bin/sbin directory. WHY?
("--disable-cgi" is not used)

Best regards,
Sharl.Jimh.Tsin

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Want a answer about php-cgi

am 21.04.2010 12:44:09 von hSiplu

Did you try --with-fastcgi or --enable-fastcgi





Shiplu Mokaddim
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)



On Wed, Apr 21, 2010 at 5:17 PM, Sharl.Jimh.Tsin wrote:
> i can not find php-cgi file in the bin/sbin directory. WHY?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Want a answer about php-cgi

am 21.04.2010 12:55:06 von amoiz.shine

Sorry,i don't add it.

and i can not find them in the ./configure --help context.

does this string really exist?

thankx a lot.

Best regards,
Sharl.Jimh.Tsin



2010/4/21 shiplu :
> Did you try =A0 --with-fastcgi or --enable-fastcgi
>
>
>
>
>
> Shiplu Mokaddim
> My talks, http://talk.cmyweb.net
> Follow me, http://twitter.com/shiplu
> SUST Programmers, http://groups.google.com/group/p2psust
> Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
>
>
>
> On Wed, Apr 21, 2010 at 5:17 PM, Sharl.Jimh.Tsin =
wrote:
>> i can not find php-cgi file in the bin/sbin directory. WHY?
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Want a answer about php-cgi

am 21.04.2010 13:32:55 von amoiz.shine

added it,but still no found. å›=A7rz

Best regards,
Sharl.Jimh.Tsin



2010/4/21 Sharl.Jimh.Tsin :
> Sorry,i don't add it.
>
> and i can not find them in the ./configure --help context.
>
> does this string really exist?
>
> thankx a lot.
>
> Best regards,
> Sharl.Jimh.Tsin
>
>
>
> 2010/4/21 shiplu :
>> Did you try --with-fastcgi or --enable-fastcgi
>>
>>
>>
>>
>>
>> Shiplu Mokaddim
>> My talks, http://talk.cmyweb.net
>> Follow me, http://twitter.com/shiplu
>> SUST Programmers, http://groups.google.com/group/p2psust
>> Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
>>
>>
>>
>> On Wed, Apr 21, 2010 at 5:17 PM, Sharl.Jimh.Tsin =
wrote:
>>> i can not find php-cgi file in the bin/sbin directory. WHY?
>>
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Want a answer about php-cgi

am 22.04.2010 09:30:39 von amoiz.shine

who can give me a sample to build a cgi version of php 5.3.x?

i really have no idea now...

Best regards,
Sharl.Jimh.Tsin



åœ=A8 2010å¹=B44æœ=8821æ—=A5 下午7:32ï¼=
=8CSharl.Jimh.Tsin 写道ï¼=9A
> added it,but still no found. å›=A7rz
>
> Best regards,
> Sharl.Jimh.Tsin
>
>
>
> 2010/4/21 Sharl.Jimh.Tsin :
>> Sorry,i don't add it.
>>
>> and i can not find them in the ./configure --help context.
>>
>> does this string really exist?
>>
>> thankx a lot.
>>
>> Best regards,
>> Sharl.Jimh.Tsin
>>
>>
>>
>> 2010/4/21 shiplu :
>>> Did you try --with-fastcgi or --enable-fastcgi
>>>
>>>
>>>
>>>
>>>
>>> Shiplu Mokaddim
>>> My talks, http://talk.cmyweb.net
>>> Follow me, http://twitter.com/shiplu
>>> SUST Programmers, http://groups.google.com/group/p2psust
>>> Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
>>>
>>>
>>>
>>> On Wed, Apr 21, 2010 at 5:17 PM, Sharl.Jimh.Tsin > wrote:
>>>> i can not find php-cgi file in the bin/sbin directory. WHY?
>>>
>>
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Want a answer about php-cgi

am 22.04.2010 10:39:48 von Lupus Michaelis

Le 21/04/2010 12:17, Sharl.Jimh.Tsin a écrit :

> i can not find php-cgi file in the bin/sbin directory. WHY?
> ("--disable-cgi" is not used)

cd to your build directory, then type next command :

find . -name php5-cgi -or -name php-cgi


--
Mickaël Wolff aka Lupus Michaelis
http://lupusmic.org

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: Want a answer about php-cgi

am 22.04.2010 10:57:34 von amoiz.shine

thanks for your reply.

i think i have know the reason now.

the CGI version of php is not built by default,we MUST add
"--enable-cgi" to configure explicitly.

Best regards,
Sharl.Jimh.Tsin



2010/4/22 Lupus Michaelis :
> Le 21/04/2010 12:17, Sharl.Jimh.Tsin a =E9crit :
>
>> i can not find php-cgi file in the bin/sbin directory. WHY?
>> ("--disable-cgi" is not used)
>
> =A0cd to your build directory, then type next command :
>
> =A0find . -name php5-cgi -or -name php-cgi
>
>
> --
> Micka=EBl Wolff aka Lupus Michaelis
> http://lupusmic.org
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php