CentOS 7 - PHP-FPM Error

Discussion in 'Installation/Configuration' started by Ator, Oct 29, 2014.

  1. Ator

    Ator New Member

    Hi there,

    It seems there is an issue with PHP-FPM mode (Mod-PHP works fine).
    I installed version p3 on CentOS 6.5 succesfully and works OK.

    Info:
    - CentOS 7
    - Apache 2.4.6
    - PHP 5.4.16

    Site error.log:
    /etc/httpd/conf/sites-enabled/100-site.com.ar.vhost:
    /etc/php-fpm.d/www.conf:
    If i change port 9000 to 9013 in "www.conf" the site works fine. But if i create a new site, the new site will use port 9014 and it won't work.

    I tested this in version p4 and p5. Is this bugfix related and should work?:
    http://bugtracker.ispconfig.org/index.php?do=details&task_id=3710&tasks=&project=3&due=83&status[0]=


    Thanks for the help,
    Greetings
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You have to use the new p5 release for centos 7. I have a centos 7 server with sites in php-fpm mode here, so there is no bug in the p5 release in the fpm functions. The p3 release is too old to support centos. And ensure thyt you installed your server as described in the centos 7 guide, the setup is a bit different then the ones for centos 6.5.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess I found the reason for your problem, centos 7 suports only mod_proxy_fcgi.c and the version build into centos is bggy so that it does not support sockets. Go to the options tab of the website and disable the "Use Socket For PHP-FPM" checkbox.
     
  4. Ator

    Ator New Member

    Excellent till!

    Disabling "Use Socket For PHP-FPM" did the trick.

    Thanks!.
     

Share This Page