Requirements | Result | Instruction |
---|---|---|
PHP >= 7.0 | ||
allow_url_fopen | ||
Apache | ||
"expires" Apache module | Browser cache will disabled. Ask hosting support about how to enable "expires" Apache module. | |
"deflate" Apache module | Compression of JS/CSS will disabled. Ask hosting support about how to enable "deflate" Apache module. | |
"rewrite" Apache module | URLs like http://YOUR_DOMAIN/MY_SITE/MY_PAGE will not work. Ask hosting support about how to enable "rewrite" Apache module. | |
"curl" PHP extension | ||
Cron Job | View instruction | |
DataBase |
Ask hosting support about how to create MySQL database and get all credentials. | |
Writable all files and folders |
Add rewrite rules to nginx.conf file:
server { ... rewrite ^/([\w\d\-\_]+)$ /page.php?site=$1; rewrite ^/([\w\d\-\_]+)/([\w\d\-\_]+)$ /page.php?site=$1&id=$2; rewrite ^/([\w\d\-\_]+)/([\w\d\-\_]+)\?(.*)$ /page.php?site=$1&id=$2&$3; }
When you upload and extract platform ZIP via cPanel - all files and folders have proper permissions.
If you are managing the server via SSH, you will need to configure folders/files permissions from the command line, the owner of all platform folders/files must be Apache/Nginx user, in most cases, it's the www-data / apache / nginx user.
sudo chown -R www-data:www-data PATH_TO_AZEXO
where: "PATH_TO_AZEXO" - platform folder
cron is a Linux utility that schedules a command or script on your server to run automatically at a specified time and date. A cron job is the scheduled task itself. Cron jobs can be very useful to automate repetitive tasks.
Every modern application with decent features must have cron job configured in order tasks to be executed in the background.
AZEXO requires a cron job to be configured, follow the steps explained below to configure cron job for your installation.
Login to cPanel and search for "Cron Job", and add the following cron job command as shown below:
wget http://YOUR_DOMAIN/cron.php wget http://YOUR_DOMAIN/cron-hourly.php
If you are managing the server via SSH, you will need to configure the cron job from the command line, the cron job must be configured for the user responsible for managing the web server, in most cases, it's the www-data / apache / nginx user.
sudo crontab -u www-data -e * * * * * wget http://YOUR_DOMAIN/cron.php * */1 * * * wget http://YOUR_DOMAIN/cron-hourly.php
The ensure that your cron job is properly configured - wait at least one minute then reload install script.