Thread: Run PHP on N800
View Single Post
Posts: 35 | Thanked: 13 times | Joined on Oct 2008
#19
dont know where everyone else insalled from by the install via Application manager I found by default the config file was incorrect.....

NGINX = 0.5.32-0mh1
PHP5-fastcgi = 5.2.4-0mh4

First PHP daemon seems to be using port 9005.
(pi -ef | grep php)
and the location of fastcgi_parms was wrong.

The following change worked
PHP Code:
      # Location ~ \.php$ { 
      # fastcgi_pass     127.0.0.1:9005; 
      # fastcgi_index    index.php; 
      # fastcgi_parm    SCRIPT_FILENAME  /scipts$fastcgi_script_name; 
      # include            /etc/nginx/fastcgi_parms; 
      # } 

Last edited by purg; 2009-02-20 at 13:38.