Sunday, December 15, 2013

Setting up PHP




1. Go to http://windows.php.net/download/

2. Download respective php zip (x86/x64 and vc11/vc9 should match to the apache installed)

3. Extract and copy the files under C:\PHP

4. Make a new copy of "php.ini-production" and rename it to "php.ini"

5. Go to Apache folder

6. Open "conf" folder and edit "httpd.conf"

7. At the end of the file add the following

<IfModule mime_module>
           AddType application/x-httpd-php .php
</IfModule>
PHPIniDir "C:\PHP"
LoadModule php5_module "C:\PHP\php5apache2_4.dll"
8. Change the .dll name with right one




Know more related:
  1. Setting up Apache WebServer


No comments:

Post a Comment