Noob looking for PHP help
Edho P Arief
edhoprima at gmail.com
Mon Apr 20 06:40:17 MSD 2009
On Sun, Apr 19, 2009 at 11:22 PM, AMP Admin <admin at ampprod.com> wrote:
> So is the following what would change?
>
> The default is:
> PHP SAPI module: cgi
> PHP CGI binary: /usr/local/bin/
> FPM config: /usr/local/etc/php-fpm.conf
> init.d script: /usr/local/sbin/php-fpm
> PHP CLI binary: /usr/local/bin/
> PHP CLI man page: /usr/local/man/man1/
> build environment: /usr/local/lib/php/build/
> header files: /usr/local/include/php/
> helper programs: /usr/local/bin/
> PHP /usr/local/lib/php/
> PHP.INI /usr/local/lib/php.ini
>
> If we add --prefix=/usr/local/lib/php-fpm-5.2.9 the new installation will look like:
> PHP SAPI module: cgi
> PHP CGI binary: /usr/local/bin/
> FPM config: /usr/local/etc/php-fpm.conf
> init.d script: /usr/local/sbin/php-fpm
> PHP CLI binary: /usr/local/bin/
> PHP CLI man page: /usr/local/man/man1/
> build environment: /usr/local/lib/php-fpm-5.2.9/build/
> header files: /usr/local/include/php/
> helper programs: /usr/local/bin/
> PHP /usr/local/lib/php-fpm-5.2.9/
> PHP.INI /usr/local/lib/php.ini
>
prefix will replace all /usr/local to $prefix
>
> -----Original Message-----
> From: owner-nginx at sysoev.ru [mailto:owner-nginx at sysoev.ru] On Behalf Of Edho P Arief
> Sent: Sunday, April 19, 2009 10:46 AM
> To: nginx at sysoev.ru
> Subject: Re: Noob looking for PHP help
>
> On Sun, Apr 19, 2009 at 10:00 PM, AMP Admin <admin at ampprod.com> wrote:
>> I don't really know what --prefix=/usr/local/php-fpm-5.2.9 accomplishes.
>>
>> Will that move the default locating of php.ini or anything?
>>
>
> it'll allow you to remove and update php-fpm with ease. The location
> is relative to prefix, iirc
>
>
> --
> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
>
>
>
--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
More information about the nginx
mailing list