Enable CURL on XAMPP

Open php.ini in xampp/ folder and remove the ‘;’ in front of extension=php_curl.dll

Setup XAMPP on windows for web development

After installing XAMPP, there are a couple of configurations that needs to be done to get everything working smoothly.

If you are runing Skype, uncheck in Skypes advanced settings->Connection, the use of port 80. If this is checked Apache will not start.

1) Actual Site Setup

To add sites (virtual hosts) edit the http-vhosts.conf file located in C:\xampp\apache\conf\extra. Since the location of my sites are different than xamps document root (C:/xampp/htdocs), I added the following in the vhosts file:

<Directory "D:/wDisk">
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* — "Options All"
    # doesn’t give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    #
    Options Indexes FollowSymLinks Includes ExecCGI

    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride All

    #
    # Controls who can get stuff from this server.
    #
    Order allow,deny
    Allow from all
</Directory>

<VirtualHost *:80>
    DocumentRoot "C:/xampp/htdocs"
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "D:/wDisk/ls"
    ServerName ls
    ServerAlias ls
</VirtualHost>

 

2) Mercury Setup

Edit mercury.ini in XAMPP/MERCURY folder disable all protocols except mercurys and meruryc :

[Protocols]

C:\xampp\MERCURYMAIL\mercurys.dll
C:\xampp\MERCURYMAIL\mercuryc.dll
#C:\xampp\MERCURYMAIL\mercurye.dll

…. add mercuryc.dll if it does not exist..

Restart mercury and open configuratiion->mercuryc smtp client

Fill out the smart host name and connection details:

Open configuration->Mercury Core module and edit local domains: and give the system an internet name

Open Configuration->SMTP server and add 127.0.0.1 to connection control and check the box "Connections from this address range may relay mail through this server"

Under Relaying control check the box "Use strict local relaying…"