Install PHP-FPM Using TCP or Unix Sockets on Centos
Description, Purpose & Scope Often with a VPS, dedicated server or elastic services such as AWS, there’s a need or requirement to be able to install and update new plugins and themes. WordPress requires write privileges to the filesystem through the webserver (Apache httpd / nginx). This requires more than just setting a few permissions on the system, for this we need to change the PHP handler from the stock mod_php (DSO) to something capable of handling these requests. This is where PHP-FPM comes in, it is built into PHP core and alters the way PHP files are handled and processed by the webserver. What is PHP-FPM? – Features PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites. Ability to start workers with different uid/gid/chroot/environment and different php.ini (replaces safe_mode) Separate chrooted DocumentRoot per site, protecting sites from one another Independent PHP settings per site; upload limits, memory, etc Adaptive process spawning (NEW!) Basic statistics (ala Apache’s mod_status) (NEW!) Advanced process management with graceful stop/start Stdout & stderr logging Emergency restart in case of accidental opcode cache destruction Accelerated upload support Support for a “slowlog” Enhancements … Continue reading Install PHP-FPM Using TCP or Unix Sockets on Centos
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed