Installing PHP on Apache 2.2.11 (Win32) PHP/5.2.5

Please download your Apache server and PHP. I'm assuming you installed your PHP into C:\PHP folder.

Please modify your httpd.conf file located in your conf folder with the following settings.

LoadModule php5_module "c:/php/php5apache2_2.dll"
AddType application/x-httpd-php .php

Restart your server. That's it.


Apache Configuration

Sample using Redirect

Redirect /myservice http://localhost:8080/service
Sample using Alias

Alias /svc c:/test/appfolder
Allow from all




Comments

Popular posts from this blog

OpenCover code coverage for .Net Core

ionic2 cordova build android - Unable resolve gradle 2.2.3

Using Custom DLL with IronPython / Scripts