Cygwin / Apache

A quick note about running Apache under cygwin. If you just run httpd2 on it’s own, you get an error about “invalid system call”. Very annoying.

A quick bit of googling reveals that you have to have something called cygserver running. You have to set it up by running cygserver-config the first time. After that, you just need to ensure that cygserver is running.

Then, you can start Apache by saying CYGWIN=server httpd2. And it all works!

Comments are Closed