OpenCart is a popular open-source platform for small and medium online shops. It is light, easy to install and runs comfortably on shared hosting. But "installed and working" is not the same as ready: skip a few settings and the shop ends up slow, poorly indexed or open to attacks. These are the key steps, in order.
Check the version and PHP compatibility
Two main branches are in use: the long-popular 3.0 and the newer 4.x. Themes and extensions are not interchangeable between them, and PHP requirements differ: 4.x needs PHP 8, while older 3.0 releases were built for PHP 7 and may throw errors on newer PHP. Confirm which version your payment, shipping and theme modules support, and check the release notes. The installer looks for curl, gd, zip, zlib, mbstring, openssl and mysqli, all selectable per site in ISPmanager. A reasonable starting point:
memory_limit = 256M
upload_max_filesize = 32M
post_max_size = 32M
max_execution_time = 120
display_errors = Off
Keep display_errors off on a live shop so error messages do not reveal file paths and database structure.
After installation: install and storage folders
Delete the install folder first. Then move storage, which holds caches, logs, downloadable product files and session data, outside the web root. Version 3.0 offers to do this from the admin panel; done by hand, update the path in both configuration files, which also contain the shop URL:
define('HTTP_SERVER', 'https://example.uz/');
define('HTTPS_SERVER', 'https://example.uz/');
define('DIR_STORAGE', '/var/www/example_storage/');
These lines appear in both config.php and admin/config.php. The 4.x installer also suggests renaming the admin folder, which cuts down automated attacks.
SEO URLs and HTTPS
Default URLs look like index.php?route=product/product&product_id=42. Rename .htaccess.txt to .htaccess, enable SEO URLs in the server settings and add an SEO keyword to each product and category.
mv .htaccess.txt .htaccess
# if the shop lives in a subfolder, inside .htaccess:
# RewriteBase /shop/
Install an SSL certificate first; on sayt.uz hosting Let's Encrypt is free and renews automatically. Then use https:// in the configuration files, enable "Use SSL" in 3.0, and add a 301 redirect from http to https so search engines do not see duplicate pages.
File permissions: you do not need 777
On modern hosting, including ISPmanager, PHP runs as your own user, so 755 for folders and 644 for files is enough, while 777 lets other processes modify your files. After installation, make the configuration files read-only:
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
chmod 444 config.php admin/config.php
Modification cache and image cache
Many extensions change core files through OCMOD, and after installing or removing one you must refresh the modification cache in the admin panel; it is the usual reason behind "I installed the module and nothing changed". Clear the theme cache from developer settings after changing themes. OpenCart also stores resized copies of every product photo in image/cache; a clothing shop in Samarkand with five or six photos per product can see this folder outgrow the originals after a few thousand items. Resize and compress photos before uploading, and give PHP enough memory_limit for large images.
Email, payments and backups
Choose SMTP in the mail settings, send from a mailbox on the shop's domain and set up SPF and DKIM so order confirmations do not end up in spam. Get payment modules only from trusted sources, ideally those recommended by the payment provider, as free modules from unknown sites can contain code that steals customer data. Back up files and the database before every upgrade or new module, and test upgrades on a staging subdomain first.