Reply
Thread Tools
andrewfblack's Avatar
Posts: 1,656 | Thanked: 1,196 times | Joined on Apr 2008 @ Alabama, USA
#11
Ok I got php server and web server setup but I can't move files to var/www folder and that is where config says to put them. I get access denied
__________________
Home Page - Preenv Wiki

**All Posts are made as a Community Member and not as a Super Moderator of this site.
 
andrewfblack's Avatar
Posts: 1,656 | Thanked: 1,196 times | Joined on Apr 2008 @ Alabama, USA
#12
Do I need to be logged inas root to do this?
__________________
Home Page - Preenv Wiki

**All Posts are made as a Community Member and not as a Super Moderator of this site.
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#13
Depends on the owner of the folder Probably...
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
andrewfblack's Avatar
Posts: 1,656 | Thanked: 1,196 times | Joined on Apr 2008 @ Alabama, USA
#14
ok thanks I'll give it a try
__________________
Home Page - Preenv Wiki

**All Posts are made as a Community Member and not as a Super Moderator of this site.
 
andrewfblack's Avatar
Posts: 1,656 | Thanked: 1,196 times | Joined on Apr 2008 @ Alabama, USA
#15
ok I even tried logging in as root I wonder if it has to be with the fact I'm trying to use emelFM2 to move the files over to /var/www
__________________
Home Page - Preenv Wiki

**All Posts are made as a Community Member and not as a Super Moderator of this site.
 
andrewfblack's Avatar
Posts: 1,656 | Thanked: 1,196 times | Joined on Apr 2008 @ Alabama, USA
#16
ok got the files in the right place but when I try to go to my file it wants me to download the file any idea what that is about does that mean the php server is not working right?
__________________
Home Page - Preenv Wiki

**All Posts are made as a Community Member and not as a Super Moderator of this site.
 
Posts: 35 | Thanked: 13 times | Joined on Oct 2008
#17
Old thread but could someone help.....

os2008
Ive installed nginx and php5-fastcgi but like others couldnt get php working.
Server started by default without PHP so edited /etc/nginx/nginx.conf by removing # from the following lines.

PHP Code:
      # Location ~ \.php$ {
      # fastcgi_pass     127.0.0.1:9000;
      # fastcgi_index    index.php;
      # fastcgi_parm    SCRIPT_FILENAME  /scipts$fastcgi_script_name;
      # include            conf/fastcgi_parms;
      # } 

webserver now doesnt seem to start.


Anyone got some n800 noob instruction which will get this working?
 
Khertan's Avatar
Posts: 1,012 | Thanked: 817 times | Joined on Jul 2007 @ France
#18
Strange.

I install it two days ago, and without any config the php is working.

I ve install it at the same time. Maybe a order is needed to let dpkg postinstall script do his job.

I do it simply with a :
apt-get install nginx php5-fastcgi
 
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.
 
Reply


 
Forum Jump


All times are GMT. The time now is 21:30.