Installing on Windows with XAMPP and WAMP

Last modified by filipe pereira on Thu, June 24, 2010 15:23
Source|Old Revisions  

This is an old revision of the document!


Installing on Windows with XAMPP and WAMP

This is tested on both XAMPP (http://www.apachefriends.org) and WAMP (http://www.wampserver.com):

Note: on XAMPP the apache directory is just apache while on WAMP the directory is apache2 (please change the instructions below accordingly)

Known Issues
Magento was developed on Linux and as such, it is most tested on this platform. Here are some known issues that may result from the use of other operating systems.

   1. Under Windows, image uploads may not work at this time:

here's a fix (from http://www.magentocommerce.com/boards/viewthread/2384/):

go to System -> Configuration -> Catalog, then under Image Configuration

Category upload url - /media/catalog/category/
Product upload url - /media/catalog/product/

rename to:

Category upload url - /RootFolderName/media/catalog/category/
Product upload url - /RootFolderName/media/catalog/product/ 

RootFolderName matches your folder you've installed magento in

Example:
my installation is located:C:wampwwwmagento
so my rootfoldername is magento!!
Category upload url - /magento/media/catalog/category/
Product upload url - /magento/media/catalog/product/ 

image upload should work know and you can start working offline

1) Download and Install (place magento files as references in installation instructions)

2) Setup Database using phpmyadmin (goto: http://localhost , there will be a link on the left to goto phpmyadmin)

3) Edit apache/conf/httpd.conf change line:

  1. #LoadModule rewrite_module modules/mod_rewrite.so

to

  1. LoadModule rewrite_module modules/mod_rewrite.so

(just remove the # )

4) Edit apache/bin/php.ini and php/php.ini (same changes on both files) change lines (the first change is not necessary on xampp):

  1. ;extension=php_mcrypt.dll

to

  1. extension=php_mcrypt.dll

and changes lines:

  1. ;extension=php_curl.dll

to

  1. extension=php_curl.dll

(just remove the ; )

4a) On WAMP you must also change the following line in apache2/bin/php.ini and php/php.ini changes lines:

  1. ;extension=php_pdo_mysql.dll

to

  1. extension=php_pdo_mysql.dll

(just remove the ; )

In addition to php_pdo_mysql.dll, you may also need to make sure you are loading:

  1. extension=php_pdo.dll

5) There is a bug in Windows’ php_pdo_mysql implementation. It is possibly related to this bug documented here: http://bugs.php.net/bug.php?id=39759 and here: http://bugs.php.net/bug.php?id=39858 . Workarounds could be:

Note above file is linked by a community member, FrenchToast and the current download above is hosted by Xavier ETCHEBER. While there has been no problems with this file it has not been fully verified

6) Restart all servers

7) Goto: http://localhost/magento/install (replace the above “magento” with where your installation was extracted to)

8) On page 2 “Configuration” change database as needed and change Secure Connection to: (XAMPP actually supports SSL over port 443 - so this step is not needed if you want to test SSL)

    Secure Host: localhost (could be different)
    Secure Base Path: /magento/ (also could be different)
    Secure Protocol: http
    Secure Port: 80

9) Continue with install, all should be good!

Additional Resources

A 4 page PDF guide can be found at http://ainove.com/docs/Magento_Installation.pdf - courtesy of user bradgman (Warning: BROKEN LINK)

Additional information on installing XAMPP and Magento, including video demonstrations, can be found at http://ipicdg.com/EC/




 

Magento 2 GitHub Repository

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs