Misc. information
Last updated
Was this helpful?
Last updated
Was this helpful?
Table of content
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 for Windows, for Mac, or for Linux, or 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.
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:
In the root directory of your PHP folder, open the php.ini
file.
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.
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.
Oftentimes, dedicated or shared servers have both PHP 4 and PHP 5 available, but only PHP4 is activated by default.
To install PrestaShop, PHP 5 must be activated. If you attempt to run PrestaShop using PHP 4, you will receive numerous errors, including this very common message:
The following is a list of procedures of which we are currently aware of...
Add this line to your .htaccess
file:
For URL re-writing, add these lines:
Add this line to your .htaccess
file:
Add this line to your .htaccess
file:
To deactivate global registers:
To View Your PHP Version:
Log in to your Account Manager.
From the Products section, click Web Hosting.
Next to the hosting account you want to use, click Launch.
In the Server section, your PHP Version displays.
To Change Your PHP Version:
From the Content menu, select Programming Languages.
Select the PHP version you want to use, and then click Continue.
Click Update.
Changes can take up to 24 hours to complete.
Enter your account username and password in the box that appears.
A new page appears. Go to the bottom row of icons in the page and click the icon titled "Enable/Disable PHP 5"
A new page appears. Click "Add PHP 5 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.
The enables PrestaShop to rework images that you upload, especially resizing them.
Please do not hesitate to post a bug report concerning the tips needed to make PrestaShop run on your hosting service, on PrestaShop's (you will need an account). We will add them to this guide as we receive them.
Enter cPanel. It should be located at