Prestashop, one of the top listed ecommerce software solution, is used by many for their online stores. Some of the reasons for its popularity is that it is written using PHP, the world’s most used language, is Open Source and has over 300 built-in plugins helping you with everything from managing the products to dealing with the customers. Few other features of Prestashop are:
- Easy customization according to your needs
- 5,000+ plugins and extensions to select from
- Mobile-responsive design
- 2,000+ professional ecommerce website templates
However, we cannot do anything with PrestaShop alone as we need a server to host our store. So let’s talk a bit about DigitalOcean on which we will be hosting our Prestashop based ecommerce shop. DigitalOcean’s reliability, affordability, and decent server locations make it an excellent choice for this project.
However, hosting directly on an infrastructure and dealing with all those server side hassles is a tedious task for anyone, let alone a person who is new to hosting and is eager to see their website go live as soon as possible. Well, Cloudways is here to help you with that. It is a platform that provides you with a well-maintained cloud console and 1-click operations. Plus, their 24×7 support is always there for your queries. Some features of Cloudways worth mentioning are:
- Optimized servers with specially optimized caching recipe
- Unlimited Servers
- Dedicated SSL protection for multiple websites + FREE SSL From LetsEncrypt
- Real-time monitoring of your server performance
- Vast staging environments for testing
- Clone servers and applications
- Automated offsite backups
- SSL, SSH, and Cron Job Managers
- Real-time insight provider: CloudwaysBot
- Cloudways API
- Addons for email, DNS, load testing, etc.
Reference: Builtwith, May 2021
Installing Prestashop on Cloudways
You are not far from the fastest and the most user-friendly experience. What you need to do is signup on Cloudways and get your account verified.
With that behind you now, follow this step by step guide on how you can host your dream Prestashop eCommerce shop on DigitalOcean using Cloudways.
PrestaShop needs the following server configuration in order to run:
System: Unix, Linux, or Windows.
Web server: Apache Web Server 2.2 or any later version.
PHP: I recommend PHP 7.1 or later.
Database: Mysql 5.6 minimum, Mariadb 10.2
Server RAM: The more the better. I recommend setting the memory allocation per script (memory_limit) to a minimum of 256M.
Nothing as Easy as Deploying PHP Apps on Cloud
With Cloudways, you can have your PHP apps up and running on managed cloud servers in just a few minutes.
Launch a New Server
Once you have signed up, launch a new server with a custom PHP application where the process of installing PrestaShop would be executed.
You need to download the latest version of Prestashop from its official website.
Visit the official Prestashop download page, and choose the latest version of Prestashop.
Extract the compressed archive:
Simply right-click the ZIP file and select Extract to Prestashop
I will now use the File Transfer Protocol (FTP) client to upload all uncompressed files to a web server.
Now go to the server and log into the FTP account using the master credentials.
Select the Prestashop folder. Proceed to dragging and dropping them into the public_html directory listing. Then, wait until the moving process is complete.
You can access the webpage by your default URL to open the Prestashop installer. If you see the License agreement page (see below), everything has been configured successfully.
Initiate the installation process. You need to select the language you want to install PrestaShop.
This is a license agreement page, read it before pressing Continue.
System Compatibility – This step will only stop if there is an incompatibility in your server settings, for instance if you have an outdated php of Database version.
Store Information – Here you will enter the basic information for your store.
Get database access details from the Application Management > Access Details.
Enter the details for the database from the access details of the application.
This screen you will be entering the database information such as the name, user and password.
Click Save and continue when ready.
Now that installation is complete, the “install” folder is no longer required. However, you may think to skip this step for now but it is suggested that do it now because someone else could come and run the install program, possibly damaging your existing store.
Delete the install folder through this command:
Now is the time to choose what you want to start with. You can start with either your Dashboard or you can choose the Store. I am choosing my store here.
Congratulations! You have set up your own Prestashop store with Cloudways.
So why are you still thinking? Cloudways offers a 03 days FREE TRIAL on DigitalOcean, so you don’t have to worry about your wallet just yet. Give our Managed DigitalOcean Hosting a shot and test all these claims for FREE and we are sure you won’t be disappointed by the Cloudways performance and features.
Shahzeb is a Digital Marketer with a Software Engineering background, works as a Community Manager — PHP Community at Cloudways. He is growth ambitious and aims to learn & share information about PHP & Laravel Development through practice and experimentation. He loves to travel and explore new ideas whenever he finds time. Get in touch with him at [email protected]