Misc. information

Keep a test version at hand!

After you have completed setting up your shop to get it just the way you want it, but before officially opening it to the buying public, we strongly recommend that you install a local test version on your personal computer (using WAMP for Windows, MAMP for Mac, or LAMP for Linux, or XAMPP for any of those platforms), or elsewhere on your hosting server.

This second instance will be useful as a pre-production environment in which you can carry out all future changes to your PrestaShop online store, without affecting the live version. This way, if an error should occur, your live store remains intact and untouched.

After you have confirmed that your test version works as it should, copy the test version over the live version. It is best to do this after peak usage hours, and with your store properly and temporarily disabled from within the PrestaShop back office.

Checking for the GD library

The GD library enables PrestaShop to rework images that you upload, especially resizing them.

On a default installation of PHP, the GD Library should be turned on, but if that's not the case for your install, the standard Windows instructions are:

  1. In the root directory of your PHP folder, open the php.ini file.

  2. Uncomment the extension=php_gd2.dll line (about half-way through the file, in the middle of a long list of extensions) by deleting the ";" at the start of the line.

  3. Restart the PHP services.

If you have no access to the php.ini file (which is often the case in shared hosting), contact your host about your hosting needs.

Activating PHP 5.6+

To install PrestaShop, PHP 5.6+ must be activated. It is extended to PHP 7.2, but don't attempt to run PrestaShop using PHP 7.3, it won't work.

Please do not hesitate to post a bug report concerning the tips needed to make PrestaShop run on your hosting service, on GitHub (you will need an account). We will add them to this guide as we receive them.

The following is a list of procedures of which we are currently aware of...


Add this line to your .htaccess file:

AddType x-mapp-php5 .php

For URL re-writing, add these lines:

Options +FollowSymLinks
RewriteEngine On

Add this line to your .htaccess file:

php 1


Add this line to your .htaccess file:

SetEnv PHP_VER 5

To deactivate global registers:



To View Your PHP Version:

  1. Log in to your Account Manager.

  2. From the Products section, click Web Hosting.

  3. Next to the hosting account you want to use, click Launch.

In the Server section, your PHP Version displays.

To Change Your PHP Version:

  1. From the Content menu, select Programming Languages.

  2. Select the PHP version you want to use, and then click Continue.

  3. Click Update.

Changes can take up to 24 hours to complete.

Lunarpages shared hosting

  1. Enter cPanel. It should be located at http://www.(your_domain).(com/net/org/etc)/cpanel

  2. Enter your account username and password in the box that appears.

  3. A new page appears. Go to the bottom row of icons in the page and click the icon titled "Enable/Disable PHP 5.6+"

  4. A new page appears. Click "Add PHP 5.6+ To Your Account!".

Your language change request is submitted. Please allow up to 24 hours for the change to be processed by the hosting server.

Last updated