kapilbharati.com

my notes, thoughts, learnings etc.

Configuration - Apache, MySQL, PHP for windows

February 15, 2009 | Comments | Permalink

Once installed make sure the following steps have been covered:

For Apache:

Update http.conf

LoadModule rewrite_module modules/mod_rewrite.so

<IfModule dir_module>
DirectoryIndex index.php index.html
</IfModule>

Include conf/extra/httpd-vhosts.conf

<VirtualHost *:80>
ServerName wpmublogs.localhost
DocumentRoot "C:/wpmu"
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory "C:/wpmu">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

For PHP:

extension_dir = "C:\ext\"
Add extensions, this is the name of the file
extension=php_mysql.dll

<?php phpinfo() ?>

Tags: Tech, Apache, MySQL, PHP, setup, Windows, Wordpress, 

blog comments powered by Disqus