Back

使用cygwin 运行 apache2

发布时间: 2011-09-06 11:28:00

1. setup apache2. 使用cygwin自带的安装程序,在对应的apache2 item上打钩

2. /usr/sbin/apachectl2 start 

 

 

会出错。 ./apachectl2: line 78:  4092 Bad system call         $HTTPD -k $ARGV

 

 见:  http://stephensoftware.wordpress.com/2010/03/08/cygwin-apache-getting-it-to-run/

 

3. $ cygserver-config

4. $ net start cygserver

5. $ /usr/sbin/apachectl2 start 

 

就可以了

打开:  http://localhost/  

显示:  It works!

Back