Warning: mysqli_connect(): (HY000/1045): Access denied for user ''@'localhost' (using password: NO) in /www/htdocs/w01cac76/marketing-pr.biz/install.php on line 86
AZEXO Marketing Platform
Installation
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

Nginx rewrite rules

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;
}
Writable all files and folders

Setup folders/files permissions via cPanel

When you upload and extract platform ZIP via cPanel - all files and folders have proper permissions.

Setup folders/files permissions via SSH

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 Job

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.

Setup Cron Job via cPanel

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

cPanel Cron Job Setup

Setup Cron Job via SSH

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

Ensure Cron Job is configured

The ensure that your cron job is properly configured - wait at least one minute then reload install script.