Using PHP5-FPM With Apache2 On CentOS 6.3

Discussion in 'HOWTO-Related Questions' started by nokia3310, Jul 5, 2013.

  1. nokia3310

    nokia3310 New Member

    http://www.howtoforge.com/using-php5-fpm-with-apache2-on-centos-6.3

    I am having problem setting up PHP-FPM on Apache 2
    I followed all the steps and i am just having problem loading the info.php file....when i install mod_php i was able to view the info.php file through the browser and it loads the Apache 2 handler as the Server API but i want PHP-FPM enabled which should be FPM/FastCGI as the Server API


    So basically i get 500 internal server error and when i checked my error log in /var/log/messages here is what i get:

    Code:
    Jul  5 00:20:49 cakephp kernel: type=1400 audit(1372998049.831:17): avc:  denied  { name_connect } for  pid=5671 comm="httpd" dest=9000 scontext=unconfined_u:system_r:httpd_t:s0 tcontext=system_u:object_r:port_t:s0 tclass=tcp_socket
    Jul  5 00:20:51 cakephp kernel: type=1400 audit(1372998051.552:18): avc:  denied  { name_connect } for  pid=5672 comm="httpd" dest=9000 scontext=unconfined_u:system_r:httpd_t:s0 tcontext=system_u:object_r:port_t:s0 tclass=tcp_socket

    What did i do wrong? What do i do to fix this?

    Thanks
     
    Last edited: Jul 5, 2013
  2. nokia3310

    nokia3310 New Member

    someone please help
     
  3. tecnoplaga

    tecnoplaga New Member

  4. nokia3310

    nokia3310 New Member

    It worked...thanks alot

    How did you find out about this solution?
     

Share This Page