This is an old revision of the document!


Using WAMP Server in Production
Configuring Apache

Allow computers on the network to access site. Edit the httpd.conf file to change the alias for directories to include the following: Root folder “/”:

file httpd.conf
<Directory />
    #######################
    # Development server
    #######################
    #Options FollowSymLinks
    #AllowOverride None
    #Order deny,allow
    #Deny from all
 
    #######################
    # Production server 
    #######################
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
    Order Allow,Deny
    Allow from 192
</Directory>

phpmyadmin folder:

file phpmyadmin.conf
<Directory "c:/wamp/apps/phpmyadmin3.4.10.1/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
    Order Allow,Deny
    Allow from 192
</Directory>
Configure PhpMyAdmin

Secure root account

Secure root account by one of these:

  • Add a password to each root account (with rights to localhost, 127.0.0.1, and ::1).
  • Create a new user with rights to localhost, 127.0.0.1, and ::1, then deleting the old root accounts.

User and Password

Make it simple to connect to PhpMyAdmin. Edit config.inc.php file in /{WampDirectory}/apps/phpmyadmin{version}/:

file config.inc.php
<?php
$cfg['Servers'][$i]['user']             = 'root';
$cfg['Servers'][$i]['password']         = '';
$cfg['Servers'][$i]['allowNoPassword']	= true;

Source: Using WAMP Server in Production