php5-fpm with apache2 on fedora17

Discussion in 'HOWTO-Related Questions' started by amutu, Aug 14, 2012.

  1. amutu

    amutu New Member

    Hello,

    I'm trying to setup php5-fpm with apache on fedora apache as in the how-to but it's not working for me. From the error log:

    [Tue Aug 14 21:53:42 2012] [notice] Digest: generating secret for digest authentication ...
    [Tue Aug 14 21:53:42 2012] [notice] Digest: done
    [Tue Aug 14 21:53:42 2012] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/sbin/suexec)
    [Tue Aug 14 21:53:42 2012] [notice] FastCGI: process manager initialized (pid 2458)
    [Tue Aug 14 21:53:42 2012] [notice] Apache/2.2.22 (Unix) DAV/2 mod_fastcgi/2.4.6 configured -- resuming normal operations
    [Tue Aug 14 21:53:44 2012] [error] [client 127.0.0.1] File does not exist: /usr/lib/cgi-bin/php5-fcgi
    [Tue Aug 14 21:53:44 2012] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
    [Tue Aug 14 21:53:44 2012] [error] [client 127.0.0.1] File does not exist: /usr/lib/cgi-bin/php5-fcgi
    [Tue Aug 14 21:53:44 2012] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
    [Tue Aug 14 21:53:45 2012] [error] [client 127.0.0.1] File does not exist: /usr/lib/cgi-bin/php5-fcgi
    [Tue Aug 14 21:53:45 2012] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
    [Tue Aug 14 21:53:45 2012] [error] [client 127.0.0.1] File does not exist: /usr/lib/cgi-bin/php5-fcgi​

    Thanks


    ps: when i got to localhost/info.php (document root is /var/www/html/) i get this:
    "
    Not Found
    The requested URL /php5-fcgi/info.php was not found on this server."

    Why does it search in /php5-fcgi/info.php?
     
    Last edited: Aug 14, 2012
  2. falko

    falko Super Moderator ISPConfig Developer

    Make sure that you have
    Code:
    FastCgiWrapper Off
    in /etc/httpd/conf.d/fastcgi.conf.
     
  3. amutu

    amutu New Member

    doesn't work.
    in browser i see this:

    Bad Request

    Your browser sent a request that this server could not understand.

    and in error_log:
    [Wed Aug 15 17:34:53 2012] [error] [client 127.0.0.1] Invalid URI in request GET /info.php HTTP/1.1
    [Wed Aug 15 17:34:53 2012] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
    [Wed Aug 15 17:34:53 2012] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
     
  4. amutu

    amutu New Member

    where is file php5-fcgi coming from? because i'm trying to compile php on my own and i need to know what flag to add to configure....
     
  5. falko

    falko Super Moderator ISPConfig Developer

    php5-fcgi doesn't exist which is ok.
     

Share This Page