PHP5 with cygwin and apache2

I want to make my laptop test environment as much as possible look like my server environment, but I do not want to install linux on my laptop. I probably should use a different pc with linux on it. I know.

Nowadays, it is actually relatively easy to install php5.2 via cygports. Just follow directions from cygport and add the following to httpd.conf /etc/apache2/httpd.conf:

 

LoadModule php5_module "C:/Program Files/php/php5apache2_2.dll" 

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
in the appropriate places, of course

 

Your rating: None Average: 5 (1 vote)
Theme provided by Danetsoft under GPL license from Danang Probo Sayekti