php-fpm

  1. L

    Chkservd thinks PHP-FPM is down

    Hello, I'm going crazy over tailwatchd. It thinks that PHP-FPM is not running, but it is, and it keeps sending notifications constantly. I do have a small modification but I don't believe this should interfere with how the tailwatchd check the services. I'm using a custom compiled "php-fpm"...
  2. M

    PHP-FPM Database Connecting Issues

    When I enable FPM for an account, that accounts PHP can no longer connect to mysql using localhost. PDO reports this error: SQLSTATE[HY000] [2002] No such file or directory When I disable FPM, it is able to connect with no changes. We have MariaDB 10.2. Everything is compiled through...
  3. leonep

    Monitoring php-fpm processes with plugin?

    Hi, My idea is to monitor php-fpm processes with a little plugin. basically i can get php status using php-fpm status page : pool: xxxxxxxxxxx_com process manager: ondemand start time: 14/Feb/2019:08:59:13 +0100 start since: 37874 accepted conn...
  4. U

    php.ini with php-fpm

    Hi, over the last couple of years there have been a few posts about this and I thought it had been solved in a case but I'm not sure. If a site is set to use PHP FPM, it ignores the custom php.ini file (set either via ftp or the new cpanel php.ini editor) So if we disable ini_set for example...
  5. Michael-Inet

    Explanations for all PHP-FPM options?

    I’ve read what I could find [1], but nothing seems to really explains what options actually exist for PHP-FPM, nor what the listed options actually do. For the basics, the GUI calls them ‘Pool Options’: Max Children Process Idle Timeout Max Requests So . . . What do they do? How are they...
  6. M

    Help interpreting user processes with php-fpm

    Really hoping for some less cryptic insight here than I'm finding on my own. After many years of running with suPHP handler, I recently bit the bullet and decided to switch to PHP-FPM and I'm having trouble identifying the specifics of user account processes in reports like "top" and "lfd"...
  7. F

    You cannot convert all accounts to PHP-FPM error

    Hi, I'm having problems to get PHP-FPM enabled. We use php 5.6 only and I did install the right php module I believe: "php56-php-fpm" apache24 apr apr-devel apr-util apr-util-devel apr-util-ldap brotli config config-runtime cpanel-tools devel documentroot libcurl libmcrypt libnghttp2 libtidy...
  8. M

    PHP FPM & Disable Functions

    Hi, I'm trying to enable phpinfo pages for one specific domain name that uses PHP FPM. I've read a few threads on here but whatever I do, I cannot get the PHP Info page to display. Can someone please explain what the correct method is in doing this? The global PHP ini for PHP 7.2 has phpinfo...
  9. M

    php-fpm configuration not updating

    Dear All, I tried today to append php-fpm configuration correct to tutorial : Tutorial - Managing php.ini directives with PHP-FPM I created file as in example, php_admin_value_error_reporting: { name: 'php_admin_value[error_reporting]', value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED }...
  10. M

    PHP FPM, EasyApache 4 and custom local php.ini

    I have read this thread: PHP-FPM and PHP.INI With answers given by @cPanelMichael but these answers are all now HTTP 404s -- the documents have gone. I have found one document here: PHP-FPM and EasyApache 4 - Version 60 Documentation - cPanel Documentation But this is only for version 60 and...
  11. M

    Looking for Apache Global Configuration and PHP-FPM Pool Options Suggestions

    The most ideal Apache Global Configuration and What should be the PHP-FPM Pool Options? Only one website is hosted on the Dedicated server. A very high website traffic. The average number of page views per day is 250,000. 1. Apache Server MPM: How should the best configuration of prefork...
  12. R

    Unable to change document root for php-fpm domain

    I am trying to change the default document root for a domain running php-fpm. To do so i've add to code below to /var/cpanel/userdata/user/domain.php_fpm.yaml file. php_admin_value_doc_root: { name: 'php_admin_value[doc_root]', value: "/home/username/public_html/test" } * i've tried both with...
  13. kdean

    SOLVED [EA-7980] Rewrite rules broken after latest EA4 update

    After updating to the EasyApache4 October 31 update. Wordpress Multisite using PHP-FPM no longer can load it's subfolder subsite admin dashboards without getting a bunch of 404s for it's resources. Trying to load other admin pages results in 404s. Turning off PHP-FPM for the domain loads the...
  14. A

    PHP-FPM custom configuration for subdomain

    Hello everyone, I have a customer which needed to enable the "exec" function in PHP 7.0. What I did was to edit the following file: /opt/cpanel/ea-php70/root/etc/php-fpm.d/subdomain.domain.com.conf I removed "exec" from php_admin_value[disable_functions]. The problem is that at the top of...
  15. B

    504 error on one VirtualHost on dedicated server

    Hi, I have 60 sites on my server. Sometimes one site freezes or gives 504 error. I understand if all freezes because of overload but how can one virtualhost freeze? When that site freezes I htop and saw many UserOfFrozenDomain /usr/local/apache/bin/httpd -k start -DSSL Other apache...
  16. cPanelResources

    Tutorial PHP-FPM Performance Tuning Basics

    Overview This resource provides instructions on how to tune performance directives when PHP-FPM is installed and enabled as a PHP handler in cPanel & WHM. Background information on how PHP-FPM is implemented with cPanel & WHM is available on our PHP-FPM documentation. This document provides...
  17. vikelidiskostas

    List domains not using php-fpm

    Hello everyone, Is there a quick way (command line) to list domains NOT using PHP-FPM. Thanks in advance,
  18. D

    Cannot Find Log of 500 Error

    I am working on a test machine upgrading Centos and PHP. I expect to see some 500 errors as I go and to need to work through them. However, when I go to the cPanels errors page there no errors listed at all. I am running Apache 2.4 with PHP 7.2 and PHP-FPM. I have looked in the following...
  19. U

    php-fpm allows phpsysinfo?

    Hi, we discovered something a few minutes ago. I wanted to check we block phpsysinfo script. Domain with php-fpm turned off - /phpsysinfo internal server error (static) / page not found (wordpress) Domain with php.fpm turned on - allows /phpsysinfo and reveals all server info! What is causing...
  20. A

    MultiPHP Manager Error

    Hello today i was trying to change php version on one of host i get this error Error: API failure: Not a reference at /usr/local/cpanel/Cpanel/PHPFPM.pm line 659. no domains is showing . please quick help