How to install and setup magento on a windows 7 machine
Tech-Today

How to install and setup magento on a windows 7 machine


This tutorial will try to install and setup magento on a local pc running windows 7.

 Requirements (I'm using the following versions, you can search the download links using google - lame :-) ):
1.) apache2.2
2.) php-5.2.14
3.) MySQL Server 5.5
4.) magento-1.6.1.0

 Steps
1.) After successful installation of items 1-3, extract magento on any directory that you want.

 2.) Create a virtual directory for the new magento installation, by modifying the httpd.conf file (search for <Directory> section):
<Directory "C:/your_path/magento-1.6.1.0">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Modify the alias section: <IfModule alias_module> Alias /magento6 C:/your_path/magento-1.6.1.0

 3.) I enable url rewriting so I uncomment the following line in httpd.conf: LoadModule rewrite_module modules/mod_rewrite.so

 4.) Since we are on windows we need to activate htaccess for url rewriting, so let's create a file where you unzipped magento: C:/your_path/magento-1.6.1.0. It should contain the ff: htaccess file:
<IfModule mod_php5.c>
php_flag magic_quotes_gpc off
php_flag short_open_tag on
</IfModule>

DirectoryIndex index.php

#RewriteEngine on
#RewriteCond $1 !^(index\.php|media|skin|js|downloader|robots\.txt)
#RewriteRule ^(.*)$ /magento6/index.php/$1 [L]
#RewriteBase /
To let apache know that we have a configuration file add: AccessFileName htaccess.txt, below the FilesMatch section in httpd.conf.

 5.) Hide htaccess.txt from the url, since we are now on windows and we change .htacces to htaccess.txt the following changes should be made to FilesMatch section:
<FilesMatch "^ht">
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
Note: If you want sample data, you can download them from here: http://www.magentocommerce.com/knowledge-base/entry/installing-the-sample-data-for-magento To install the sample data, execute the ff command in the command prompt: 1.) Backup your existing magento database: mysqldump -u -p > 2.) Install the sample data: mysql -u -p <




- Web Development
WordpressConfigure Custom Wordpress PermalinkZencartHow to add a customize product admin fields in zencart by editing/adding extra codesJoomlaHow to install/setup/configure joomla to run in a xampp setup. This avoids the technical detail of manually installing...

- Configure Custom Wordpress Permalink
The following guidelines will help us debug a custom wordpress permalink. Normally we want the URL to be customized, has sense for SEO purposes but wordpress by default use the jurassic id system (page_id=xxx). Fortunately wordpress already offer this...

- Magento All Links Throws 404 Not Found Error
After downloading and installing magento 1.7.4 for evaluation, I found out that by default all the frontend links are not working. But the backend works fine. As I remember long time ago this is a problem when deploying locally and using a virtual address,...

- Apache Php Mysql Setup
Everytime I setup a new unit I have to set the following up and it takes time. So I'm writing a walkthrough and hopefully I don't need to debug :-D. Before we begin you must download and install/extract the following: 1.) apache - http://httpd.apache.org/download.cgi...

- Magento - 500 Internal Error
Server: 1and1 hosting After fixing the database issue, I found myself trap with: 1.) front end - I got 500 Internal Error 2.) back end - out of memory error To keep it short here are my solutions: 1 & 2.) I remember doing these things: a.) rename...



Tech-Today








.