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


Popular posts from this blog

Solving Sonarqube :- Project was never analyzed. A regular analysis is required before a branch analysis

spark - pyspark reading from excel files