R
R
Roman Kutenko2013-02-05 11:09:48
linux
Roman Kutenko, 2013-02-05 11:09:48

Installing two or more versions of PHP running as FPM/FastCGI?

Hi all. I want to install all available versions of PHP on Ubuntu Server 12.04. First I installed 5.3.10 from the repositories and ran it as FPM/FastCGI. Then I built it from the PHP5.2.17 sources and applied the fpm version 0.5.14 patch. When connecting the compiled package, phpinfo shows CGI / FastCGI, php-fpm in the same output indicates inactive. How to make php from FPM/FastCGI work?
UPD: installation was carried out according to the following manuals
zgadzaj.com/how-to-install-php-53-and-52-together-... this is the installation of php version 5.2
www.howtoforge.com/forums/showthread.php?t \u003d 58788 is an add-on for installing php-fpm

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman Kutenko, 2013-02-05
@Sky4eg

What we have: Ubuntu Server 12.04
PHP 5.3.10 is installed in the fastcgi + php-fpm bundle, everything is from the reps, in phpinfo we get the
Server API FPM / FastCGI
Next, I collect from the 5.2.17 sorts with --enable-fpm, I roll the patch 0.5.14
I get phpinfo
Server API CGI/FastCGI
but at the same time:
php-fpm active
php-fpm version 0.5.14
how to make it work with Server API FPM/FastCGI
PS version 5.2.17 by type xml. How to make a config file in ini style?

A
Alexey Sundukov, 2013-02-05
@alekciy

How to make a config file in ini style?

No way. After all, we do not consider the option to rewrite the patch?
What for somehow especially to force these versions to work? Versions are launched, work, well, you need to hook them with the backend to nginx.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question