Installation and Configuration of PrestaShop
Below is a step-by-step instruction including preparing the hosting environment to support the application, as well as how to access the hosting system, and finally the Installation and Configuration of PrestaShop Self Hosted Edition.
NOTE: For a Docker based version, see [future link]
Skill Level: Beginner+
This article covers the Installation and Configuration of PrestaShop Self Hosted Edition on the Linux OS.
Regardless of your experience with hosting, Linux, Apache, or the internet, you “should” be able to follow along!
We will go through all of the steps involved and discuss the requirements in details as we go, so don’t be put off by the following…
Software Requirements
Here is what you will need to begin on your workstation:
- A Windows or Linux desktop with internet access.
- Windows
- MobaXterm – https://mobaxterm.mobatek.net/download-home-edition.html or Putty – https://www.chiark.greenend.org.uk/~sgtatham/putty/. Both are free.
- Notepad++ (https://notepad-plus-plus.org/) Free
- Linux
- SSH Client
Minimum Hosting Requirements
Here is what you will need in order to “host” your new store online:
- A registered domain name! NameSilo is my domain name registrar of choice and has been for 20 years! Get your .com domain for $8.99 a year!
- A Cloud Hosted Account, such as Digital Ocean or Vultr. Ubuntu Server 20.04 LTS is recommended, but Ubuntu Server 18.04 LTS can also be used.
- A minimum of 2G of memory and 50GB of storage. ($20.00 a month with Digital Ocean!)
- Apache 2.4.
- PHP 7.3 (The current supported version).
- MySQL 5.0+, 5.7 is recommend.
PHP Configuration
PHP is the language in which PrestaShop is written. Below you will bee what the requirements and settings will be set to. (Details will follow of course!)
- PHP 7.3
- extensions Mcrypt, OpenSSL, Zip, Curl, GD, PDO
- memory_limit = 256
- upload_filesize = 16M
Please follow the instructions in the article Setting Up a PHP Cloud Hosting Server for the first time for further information.
References
- PrestaShop Github – https://github.com/PrestaShop/PrestaShop
- Creating a Digital Ocean droplet with PHP/MySQL Support – https://briansbytes.com/cloud-hosting/setting-up-a-php-cloud-hosting-server-for-the-first-time/