Welcome! Log In Create A New Profile

Advanced

Re: Noob looking for PHP help

April 19, 2009 10:40PM
On Sun, Apr 19, 2009 at 11:22 PM, AMP Admin <admin@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@sysoev.ru [mailto:owner-nginx@sysoev.ru] On Behalf Of Edho P Arief
> Sent: Sunday, April 19, 2009 10:46 AM
> To: nginx@sysoev.ru
> Subject: Re: Noob looking for PHP help
>
> On Sun, Apr 19, 2009 at 10:00 PM, AMP Admin <admin@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
Subject Author Posted

Noob looking for PHP help

AMP Admin April 18, 2009 09:57AM

Re: Noob looking for PHP help

Nuno Magalhães April 18, 2009 11:00AM

Re: Noob looking for PHP help

edogawaconan April 18, 2009 11:34AM

RE: Noob looking for PHP help

AMP Admin April 18, 2009 11:26AM

Re: Noob looking for PHP help

Fernando Perez April 18, 2009 10:56AM

Re: Noob looking for PHP help

Jim Ohlstein April 18, 2009 11:35AM

RE: Noob looking for PHP help

AMP Admin April 18, 2009 12:08PM

RE: Noob looking for PHP help

Cliff Wells April 18, 2009 12:33PM

RE: Noob looking for PHP help

AMP Admin April 18, 2009 01:13PM

Re: Noob looking for PHP help

Jim Ohlstein April 18, 2009 12:39PM

RE: Noob looking for PHP help

AMP Admin April 18, 2009 01:02PM

Re: Noob looking for PHP help

Momchil Ivanov April 18, 2009 07:20PM

Re: Noob looking for PHP help

Jim Ohlstein April 18, 2009 08:19PM

Re: Noob looking for PHP help

Momchil Ivanov April 19, 2009 08:29AM

Re: Noob looking for PHP help

Jim Ohlstein April 19, 2009 10:00AM

RE: Noob looking for PHP help

AMP Admin April 19, 2009 11:00AM

Re: Noob looking for PHP help

edogawaconan April 19, 2009 11:46AM

RE: Noob looking for PHP help

AMP Admin April 19, 2009 12:22PM

Re: Noob looking for PHP help

edogawaconan April 19, 2009 10:40PM

Re: Noob looking for PHP help

Momchil Ivanov April 20, 2009 05:45AM

RE: Noob looking for PHP help

AMP Admin April 20, 2009 08:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 83
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready