php5-fpm with nginx not working

Eric Kom erickom at metropolitancollege.ac.sz
Wed Aug 6 11:16:48 UTC 2014


Hi All,

Please I have installed nginx version 1.7.4 with the php5-fpm on debien 
wheezy.

Work fine but php do not seem to be integrated properly with the "


  An error occurred." on the browser

below my config from the default.conf file:
  # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
     #
     location ~ \.php$ {
         ##root           html;
         ##fastcgi_pass   127.0.0.1:9000;
         fastcgi_split_path_info ^(.+\.php)(/.+)$;
         fastcgi_pass   unix:/var/run/php5-fpm.sock;
         fastcgi_index  index.php;
         fastcgi_param  SCRIPT_FILENAME /scripts$fastcgi_script_name;
         include        fastcgi_params;
     }

Please assist

-- 
--
Kind Regards

Eric Kom

Senior IT Manager - Metropolitan Schools
        _________________________________________
/ You are scrupulously honest, frank, and \
| straightforward. Therefore you have few |
\ friends.                                /
        -----------------------------------------
          \
           \
               .--.
              |o_o |
              |:_/ |
             //   \ \
            (| Kom | )
           /'\_   _/`\
           \___)=(___/

2 Hennie Van Till, White River, 1240
Tel: 013 750 2255 | Fax: 013 750 0105 | Cell: 078 879 1334
erickom at kom.za.net | erickom at metropolitancollege.co.za www.kom.za.net |
www.kom.za.org | www.erickom.co.za

Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140806/c35e9d24/attachment.html>


More information about the nginx mailing list