Magento

Magento is an open-source eCommerce web application. This article provides steps to install Magento on a DreamHost domain.

For more information about Magento, please visit their site at:

Magento uses a large amount of server resources. Because of this, it’s highly recommended you only run Magento on a VPS or Dedicated server. Running it on shared hosting may cause the site to hit memory limits which can cause slowness and downtime.

For optimal performance (especially for larger stores), a Dedicated server or DreamCompute is recommended due to the presence of a local MySQL instance.

Compatibility issues

Magento 2 is not compatible with DreamHost's MySQL configuration. If you wish to install the latest version of Magento, you must upgrade to a Dedicated server with an admin user. You could also upgrade to DreamCompute and configure your own MySQL permissions on the Cloud server. However, DreamHost support is not able to assist with such customizations.

Before you install Magento

  1. Download Magento from their website at:

    Magento provides the option to download the installation file in a .zip or .tar format. Select a format you are comfortable extracting.

  2. Create a phprc file under your user. You must raise the php memory_limit to at least 256MB.
  3. Create a database that will be used by Magento. View the following article for further information:
  4. Set your domain to use PHP 5.6 or higher. View the following article for further information:

Installing

  1. Upload the Magento file you downloaded to your web server via FTP.
  2. Decompress the files on the server. You’ll need to log into the server via SSH to decompress the file.
    • Alternatively, you can decompress on your computer first, then upload the files.
  3. Confirm the Magento files are in your domain’s web directory.
  4. Visit your domain and load the Magento installation wizard. The rest of the installation wizard is a site-level configuration and can be referenced in this page:

Troubleshooting

I can't find the installation wizard

If you’re unable to load the Magento installation wizard, you may have the installation file in another location other than the domain’s root web directory. Check to make sure the installation file is not in a subdirectory, and also make sure all files, folders, and subfolders have the correct permission.

Links don't redirect correctly

If you completed the installation and click links such as “my account”, “my wishlist”, ‘my cart”, or “about us”, and find they are not functioning correctly, you probably checked the box ‘Use Web Server (Apache) Rewrites’ during the installation wizard. To fix this, create an .htaccess file in the site's root web directory and enter the following:

Options +SymLinksIfOwnerMatch
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

See also

Did this article answer your questions?

Article last updated .