Re: Re: php installation instructions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2016-04-07 15:40, Christos Moustakakis wrote:
Could anyone inform me how to compile a second php in Ubuntu 14 in
different folder using CGI and FCGID options?

This looks like a good place to start

https://docs.moodle.org/30/en/Compiling_PHP_from_source

Where it talks about running the ./configure inside the PHP source, you'll want to be sure to specify a custom place for your prefix.

./configure \
  --prefix=/opt/php-custom \
  <other options>

To figure out what you want/need to the rest of the options, a good place to start is by looking at your current builds ./configure'ed options. To do this, run this command at your shell:

# php -i | grep "Configure Command" | sed -e "s/'//g"

So, for mine, it shows --prefix=/usr

Yours might be the same, could be different.  YMMV

Use your configure options with the above instructions.


Sent from Yahoo Mail on Android

  On Mon, Apr 4, 2016 at 2:04, Christos
Moustakakis<moustakakis@xxxxxxxx> wrote:   My server isn't actually
using PHP FPM, it's using CGI and FCGID. 
So I should compile it with CGI and FCGID options, rather than
PHP-FPM. Do you have any instructions for them (CGI and FCGID)?
CallSend SMSAdd to SkypeYou'll need Skype CreditFree via SkypeThanks.

--
Jim Lucas
http://cmsws.com

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




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux