ID #388

How do I install Magento at Modwest?

Applies to: Grid System

To install Magento in Modwest's Debian 5 environment, please follow these guidelines:

  1. Don't use downloader, use the regular installer instead.
  2. untargz the download
  3. Copy Modwest's stock php.ini into /conf:

    user@shell0:/$ mv /conf/php.ini /conf/php.ini.old

    user@shell0:/$ cp /etc/php5/cgi/php.ini /conf

  4. Within /conf/php.ini make the following modifications:

    enable pdo_mysql.so (You will need to add this extension if it's not there.)
    enable pdo.so (You will need to add extension if it's not there.)
    enable mcrypt.so
    enable curl.so
    enable gd.so
    enable mcrypt
    comment out zend Framework includes:
    ;include_path = ".:/usr/share/php:/usr/local/Zend/ZendFramework/library:/usr/local/Zend/ZendFramework/extras/library"

    and add:
    include_path = ".:/usr/share/php"

  5. Select to use Apache redirects in the last step of installation, then modify Magento's .htaccess like this:

    #RewriteRule .* index.php [L]
    RewriteRule ^(.*)$ /index.php/$1 [L]

This should get you a working install of Magento's shopping cart at Modwest.

Related discussion on Magento @ the Modwest Community

Last update: 2010-10-05 16:18
Author: FAQ Admin
Revision: 1.2

Digg it! Share on Facebook Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 2 (1 Vote)

completely useless 1 2 3 4 5 most valuable

You can comment this FAQ

Comment of Anonymous:
changing the RewriteRule actually made magento not work for me.

Remember also, if magento is running in a sub folder open up the htaccess file in the magento install directory and find "RewriteBase" and replace it with something like "RewriteBase /magento/" or wherever your directory name is.
Added at: 2009-11-13 14:00