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
[email protected] | [email protected] www.kom.za.net |
www.kom.za.org | www.erickom.co.za
Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5