cPanel

Install PrestaShop on cPanel hosting (manual install)

Install PrestaShop manually on cPanel: check PHP version and extensions, create the database, upload and run the installer, secure the admin folder and set up cron and SSL.

IntermediatecPanel hosting3 min read

PrestaShop is a popular open-source e-commerce platform. Softaculous can install it in a few clicks, but a manual install gives you control over the version and paths. This guide shows how to install PrestaShop on cPanel hosting by hand.

Before you start

  • A cPanel account with a domain pointing to it and free SSL active (AutoSSL).
  • The PrestaShop release ZIP from the official site, and its system requirements (supported PHP versions differ between PrestaShop 1.7, 8 and 9).
  • Enough disk space and a plan sized for a shop (stores use more CPU and RAM than a blog).

Set the PHP version and extensions

  1. Open cPanel → Software → Select PHP Version (or MultiPHP Manager) and pick a version supported by your PrestaShop release.
  2. Enable extensions: curl, gd, intl, mbstring, pdo_mysql, zip, xml, fileinfo, json, opcache.
  3. Under Options, set memory_limit to 256M or more, max_execution_time to 300, and upload_max_filesize to at least 16M.

Create the database

  1. Open cPanel → Databases → Manage My Databases.
  2. Create a database, then a user with a strong password.
  3. Add the user to the database with ALL PRIVILEGES. Note the full names (they include your cPanel username prefix).

Upload the files

  1. In cPanel → Files → File Manager, open public_html (or the domain's document root).
  2. Upload the PrestaShop ZIP and extract it. Recent releases contain an inner prestashop.zip plus an index.php installer; leave them together and open the domain, which unpacks the inner archive automatically.

Run the installer

  1. Browse to https://example.com. Choose the language and accept the licence.
  2. The compatibility check lists any missing PHP settings; fix them in cPanel and refresh.
  3. Enter shop details and the admin account (use a unique email and a strong password).
  4. Enter database details: server localhost, the database name, user and password. Keep or change the table prefix, then click Test your database connection.
  5. Finish the installation. It can take a few minutes.

Secure the installation

  • Delete the install folder if it still exists (PrestaShop requires it before you can log in to the back office).
  • The admin folder is renamed to a random name (e.g. admin123abc); bookmark that URL and keep it private.
  • Enable SSL everywhere: Shop Parameters → General → enable SSL and SSL on all pages.
  • Keep PrestaShop and modules updated, and remove modules you do not use.

Post-install settings

  • Performance (Advanced Parameters → Performance): turn off debug mode, enable caching, and set template compilation to recompile only when files change.
  • Cron jobs: some modules (currency rates, feeds, newsletters) need cron URLs; add them under cPanel → Advanced → Cron Jobs.
  • Email: set SMTP in Advanced Parameters → E-mail using a mailbox from your cPanel account.
  • Friendly URLs: enable them in Shop Parameters → Traffic & SEO; PrestaShop writes the needed .htaccess rules.

Troubleshooting

  • 500 error after install: check the domain's error_log; usually a PHP version mismatch or missing extension. Enable debug mode temporarily in config/defines.inc.php (_PS_MODE_DEV_) to see the error.
  • Database connection failed: wrong full database or user name (missing cPanel prefix) or the user was not added to the database.
  • Back office login loops: clear browser cookies, check SSL settings match the URL you use, and clear the var/cache folder.
  • Slow pages: enable caching and consider LiteSpeed Cache's PrestaShop module on LiteSpeed servers.

PrestaShop FAQ

Softaculous or manual install?

Softaculous is faster and handles updates and backups; manual installs suit specific versions or custom setups.

How much hosting does PrestaShop need?

A small shop runs well on good shared hosting; larger catalogues and traffic benefit from a VPS.

Can I migrate an existing shop?

Yes: copy files and the database, then update the domain in the ps_shop_url table and clear the cache.

Next steps

Was this guide helpful?

Still stuck?

Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.