Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email

Magento Forum

A proper way to install magento on your local MacSystem
Jr. Member
Total Posts:  1
Joined:  2011-09-06


Macintosh OS X 10.6.8
XAMPP 1.7.3

= 01 =

Download the application and the sample data from
and from

= 02 =

Extract magento to the folder where you store your local webprojects. This is normaly the your htdocs-Folder in the XAMPP-Folder.
Extract the sample data and copy the content of the media-Folder to the media-Folder within the magento-Folder

= 03 =

Configure your XAMPP: Even if it is possible to set up several applications in one single XAMPP
installation, I recomment to start with a fresh XAMPP installation.
(Rename your XAMPP Folder if you have an existing installation on already installed and) copy the Application data to your Application Folder.

= 04 =

Configure your httpd.conf within XAMPP:
Add the following line to the configuration file to make sure that the mod_rewrite module rewriting is enabled:

LoadModule rewrite_module modules/

Then enable the vhost Extension by adding the following line

Include etc/extra/httpd-vhosts.conf

= 05 =

Configure the vhosts:
Add the following virtual host entry to your configuration. (Replace the ***** with your personal path)

<VirtualHost *:80>
ServerName magento.localhost
DocumentRoot \"/******/magento\"
<Directory \"/******/magento\">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
ErrorLog \"logs/magento_error_log\"
CustomLog \"logs/magento_log\" common

= 06 =

Configure a local domain under which the shop system will be accessible
(You must have root-rigths to do this)

Open the following file in an editor


and add the following line to the file magento.localhost

= 07 =

Change the rights on the magento folder to 777 (or 775).
There is no need to make the entire Folder writeable but it\’s easier wink

= 08 =

Use the xampp-control panel to start run the MySQL Server.
Login to the MySQL server and create a database for the Magento installation and
import the SQL-File from the example-data Folder into the created database.

= 09 =

Now there is some need to do some modifications from the Magento Forums:

= =

Rename the local.xml.sample to local.xml

= =

Open the file /app/etc/config.xml in an editor and do the following modifications:
Search for the following line
and replace it with the following line

= =

Open the app/Mage.php and comment:
//self::throwException(’Mage registry key “‘.$key.’” already exists’);

Don’t use it on production stores!

= 10 =

Make sure that the Apache WebServer and the MySQL Server of your XAMPP installation is running.
Now open the magento installation wizard by opening http://magento.localhost in a web browser.
Follow the instructions and start the installation process. This will take a while.
There will be no status bar but u can use the Health-Window of MySQL-Administrator to see the process. wink

= 11 =

After finishing the installation the personal information should be updated. Visit the Front- and the Backend-Store to change the information.

You have to \"remap\" the Products (follow the instructions in the backend.)

Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top