note 91613 modified in install.windows.manual by danbrown
| From: | danbrown@php.net | Date: | Fri, 19 Jun 2009 14:14:05 +0000 |
| Subject: | note 91613 modified in install.windows.manual by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-157129@lists.php.net to get a copy of this message | ||
There is a way to install PHP with nginx-server under windows (current version is 0.7.60)
Step-1 (install nginx server)
Just extract nginx-0.7.60.zip in C:\nginx-0.7.60
In C:\nginx-0.7.60\conf\nginx.conf uncomment and edit following lines
location ~ \.php$ {
root html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME C:/nginx-0.7.60/html$fastcgi_script_name; #this is the
one line for edition
include fastcgi_params;
}
and run C:\nginx-0.7.60\nginx.exe (the server is started)
Step-2 (install PHP5)
Just extract php in C:\PHP5
Create (or modify) php.ini
extension_dir="ext/" ;for extensions
And run C:\PHP5\php-cgi.exe -b 127.0.0.1:9000
--was--
There is a way to install PHP with nginx-server under windows (current version is 0.7.60)
Step-1 (install nginx server)
Just extract nginx-0.7.60.zip in C:\nginx-0.7.60
In C:\nginx-0.7.60\conf\nginx.conf uncomment and edit following lines
location ~ \.php$ {
root html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME C:/nginx-0.7.60/html$fastcgi_script_name; #this is the
one line for edition
include fastcgi_params;
}
and run C:\nginx-0.7.60\nginx.exe (the server is started)
Step-2 (install PHP5)
Just extract php in C:\PHP5
Create (or modify) php.ini
extension_dir="ext/" ;for extensions
And run C:\PHP5\php-cgi.exe -b 127.0.0.1:9000
Only thing i don't know, is how to run php-cgi.exe in background (without console window,
I'd like if someone helped)
http://php.net/manual/en/install.windows.manual.php