Tag: PHP

How to Install PHP 7 in CentOS 7

The CentOS 7 official software repositories have PHP 5.4 that is reached end of life and no longer actively maintained by the developers. Thus you need a newer PHP 7 on your CentOS server. The commands below will help you install PHP 7 on CentOS. All of them are executed as root account or with …

Continue reading

Unable to set php_value soap.wsdl_cache_dir

I php-fpm access.log we can see the following: [18-Jan-2018 15:03:38] WARNING: [pool www] child 2148 said into stderr: “ERROR: Unable to set php_value ‘soap.wsdl_cache_dir’” By default this parameter looks like the following: php_value[soap.wsdl_cache_dir] = /var/lib/php/wsdlcache Be sociable 🙂 Share!

Continue reading

Enable Apache event MPM with php-fpm

Choose-Apache-MPM-Module

Starting from version 2.4 Apache offers 3 MPM (Multi-processing Module) we can choose from, depending on your needs. The prefork MPM uses multiple child processes without threading. Each process handles one connection at a time without creating separate threads for each. Without going into too much detail, we can say that you will want to …

Continue reading