For Apache’s httpd.conf
1. Set “DocumentRoot” to your_path_to_www
2. Set your www folder in <Directroy ” your_path_to_www”>
3. In IfModule mime_module, add following code
ScriptAlias /php/ “$path_to_php_bin”
AddType application/x-httpd-php .php .html
Action application/x-httpd-php “/php/php-cgi.exe
4. Add alias folder, add following line at the end of httpd.cond
Include “path_to_alias/alias/*”
For php.ini don’t forget to put php.ini in your apache bin folder as well as in your xp’s windows folder
Advertisement