The application has a few system requirements, so you will need to make sure your server meets the following requirements:
- PHP >= 7.1.3
- OpenSSL PHP Extension
- PDO PHP Extension
- SQLite PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
- Ctype PHP Extension
- JSON PHP Extension
- cURL PHP Extension
- GD PHP Extension
- Fileinfo PHP Extension
If you’are more comfortable with cPanel based hosting go for Bluehost. They have competitive pricing with good support.
- Be sure to enable the
mod_rewritemodule so the .htaccess file will be honored by the server.
- If you’re using a shared hosting be sure the
symlink()function is enabled on our server. Some shared server disable this function.
- And make sure you’ve
sudoprivilege on the server and access to
command linetool and also have full access to the
MySQL 5.7+ or MariaDB 10.3.0+ is required. If you don’t know your MySQL server version, please read this article for help.
After uploading the zCart to your server, you may need to configure some permissions. Firstly set all your directories permission to
755 and files to
644. Directories within the storage, vendor and the bootstrap/cache directories should be writable by your web server. Set permission to
775 for storage, vendor and the bootstrap/cache directories. So set these directories set the write permissions to the webserver.
When you visit a website, you are accessing a particular folder on a web server. For example, when you visit example.com, the server is pulling up the files at:
/home/USERNAME/public_html. The web server only serves the files located at that folder to incoming visitors. The location of that web folder is called the “document root” and is set by the Apache configuration.
Now you need to configure your server/domain’s document root to the
/path/to/your/zCart/public directory of your project. The
index.php in the public directory serves as the front controller for all HTTP requests entering your application.