PHP-FPM is not working

Discussion in 'Installation/Configuration' started by Mindless74, Aug 26, 2015.

  1. Mindless74

    Mindless74 New Member

    hi,
    I have changed two of my hosted sites to PHP-FPM.
    the PHP-FPM manager and php-fpm processes for both users/sites are running. Fore some reason both sites are still on fast-cgi ("Server API: CGI/FastCGI"). I also can see cgi-php processes as long as Wordpress or any other php script is processing requests.
    Thanks...
    Patrick
    output of ps ax
    Code:
    #sudo ps ax | grep fpm
    5316 ?        Ss     0:00 php-fpm: master process (/etc/php5/fpm/php-fpm.conf)
    5317 ?        S      0:00 php-fpm: pool web2                             
    5318 ?        S      0:00 php-fpm: pool web2                             
    5319 ?        S      0:00 php-fpm: pool web4                             
    5320 ?        S      0:00 php-fpm: pool web4                             
    5321 ?        S      0:00 php-fpm: pool www                               
    5322 ?        S      0:00 php-fpm: pool www
    
    output of netstat
    Code:
    # sudo netstat -tapn | grep php
    tcp        0      0 127.0.0.1:9011          0.0.0.0:*               LISTEN      5316/php-fpm.conf)
    tcp        0      0 127.0.0.1:9013          0.0.0.0:*               LISTEN      5316/php-fpm.conf)
    tcp        0      0 127.0.0.1:9014          0.0.0.0:*               LISTEN      5316/php-fpm.conf)
    
    output php5-fpm-status
    Code:
    # sudo /etc/init.d/php5-fpm status
    [ ok ] php5-fpm is running.
    
    PHP Settings are attached as screenshot.
     

    Attached Files:

    Last edited: Aug 26, 2015

Share This Page