Step 2 - rename php.ini-dist to php.ini
Step 3 - open C:\PHP\php.ini, then make the following changes
- doc_root = "C:\wwwroot\"
- extension_dir = "C:\PHP\ext"
- DocumentRoot = "C:/wwwroot/"
- DirectoryIndex = "index.php"
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php .php5
Action application/x-httpd-php "/php/php-cgi.exe"
SetEnv PHPRC "C:/php"
Step 6 - restrart Apache
Step 7 - test your Apache server
0 comments:
Post a Comment