• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

PHP-FPM Issue with new PHP version

yasmagic

New Pleskian
I have enabled remi repo to install PHP-FPM. The following command shows the version:

yum info php-fpm
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* asl-3.0: www5.atomicorp.com
* remi: mirrors.mediatemple.net
33 packages excluded due to repository priority protections
Available Packages
Name : php-fpm
Arch : x86_64
Version : 5.4.19
Release : 1.el6.remi
Size : 1.3 M
Repo : remi
Summary : PHP FastCGI Process Manager
URL : http://www.php.net/
License : PHP and Zend and BSD
Description : PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI
: implementation with some additional features useful for sites of
: any size, especially busier sites.


If I install PHP-FPM, it looks like it is going to install PHP version 5.4 as we well. I want to stick to PHP 5.3.3 version. How can I install PHP-FPM without installing new PHP 5.4? I have seen issues in the pas the multiple PHP version cause issues.

For example PHP 5.4.17 along with PHP 5.3.3 gives this error:

# php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/newrelic.so' - /usr/lib64/php/modules/newrelic.so: undefined symbol: php_end_ob_buffer in Unknown on line 0
PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

Basically, I want to use PHP-FPM over FastCGI ti improve performance.

Thanks!
 
Back
Top