php / fastcgi - all loaded.. :) though i now have other probs - see other threads in this forumby gordonisnz - New Member Introductions
I'll try later.. I'm off to bed.... Whenever I d/load FASTCGI - it installs anotherweb-server, & I tried & it didn't have FASTCGI included :( Is there a dummies-guide to install FASTCGI with Nginx already loaded as a server ? ( WinXP )by gordonisnz - New Member Introductions
Ive found the error - Something to do with FASTCGI (looking up FASTCGI for WINXP) Sorry, i can't see any option to edit previous post...by gordonisnz - New Member Introductions
Hmm I don't think Nginx is actually being loaded / activated on start-up. My vbatch file has this :- @ECHO OFF c:\nginx\nginx.exe > c:\nginx.out ping 127.0.0.1 -n 1>NUL echo Starting nginx echo . echo . echo . ping 127.0.0.1 >NUL EXIT (I added the > c:\nginx.out - But that has no output... ) Is there a command-line option for debugging (& not closeby gordonisnz - New Member Introductions
Hello. I'm following this :- I have http { include mime.types; default_type application/octet-stream; ..... ..... server { listen 80; server_name localhost; error_log logs debug; I have c:\logs\ c:\ nginx\logs\ Ive closed / restarted NGINX (winXP) I get :- http://localhost/ google Chrome could noby gordonisnz - New Member Introductions
Try :- $file=file_get_contents("2.php"); echo $file; (just guessing)by gordonisnz - New Member Introductions
Good day. Has anyone got a good step-by-step guide for installing Codeigniter with NGINX... I've found several via Google - But they only say "path/to/your/index.php file " etc... (Codeigniter has 4-5 index.php files i can see - *which* index.php file Also, I want my C:\ directry structured like c:\sites\website1\ c:\sites\website2\ One Codeigniter install - But multiby gordonisnz - New Member Introductions
PS.. if I take this script out - - I can view my site (but no PHP).. in my /etc/nginx/sites-available/default file - I have ## Parse all .php file in the /var/www directory location ~ .php$ { fastcgi_split_path_info ^(.+\.php)(.*)$; ## fastcgi_pass backend; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /home/sites/$fastcgi_script_nby gordonisnz - How to...
Good day, I'm trying to install PHP on Nginx / Ubuntu (linux). - using Codeigniter I have my html files in a directory /home/sites/SITE-NAME/ error message in logs 2010/08/26 00:15:49 4017#0: *1 open() "/usr/local/nginx/html/index.php" failed (2: No such file or directory), in my /etc/nginx/sites-available/default file - I have server { listen 80; server_nby gordonisnz - How to...
Never mind - Fixed :) I had "default" on both 'listen' lines. I guess only 1 default is good :) all fixedby gordonisnz - How to...
Another error - when I restart the server gordon@gordon-desktop:~$ sudo /etc/init.d/nginx restart Restarting nginx: : the duplicate default server in /etc/nginx/sites-enabled/default:23 configuration file /etc/nginx/nginx.conf test failed gordon@gordon-desktop:~$ heres my sites-enabled/default - i have marked line 23 (Ive replaced my domain directory with SUB / SUBDIRECTORY )by gordonisnz - How to...
OK, I've found the directory to edit the nginx html files & have created a subdirectory.localhost (the subdirectory points to my main welcome message (again)...) HOWEVER :- If I try adding / changing virtual hosts - I get errors website says host not found (for subdomain & main localhost).. the error log for nginx says :- 2010/08/19 22:07:31 2223#0: bind() to 0.0.0.0:80by gordonisnz - How to...
Hello. I'm new to NGINX (but have used other servers before...) Basically, I've been working on a live nginx server, but want to install nginx on my home PC - In the same format / layout as the live server. I have Linux - Ubuntu. & have let the system automatically install nginx. :- I've installed nginx :- when I go to http://localhost/ - It shows the "Welcome to nginx!&quby gordonisnz - How to...