Requirements

We have tested this app to run on shared web hosting providers, VPS and dedicated server solutions. App was tested to run on both cPanel and DirectAdmin, which are two most popular platforms. Bellow is list of all requirements. They may seem scary, but in reality most of them are common and are included as standard. Most important thing is, that your web hosting provider supports PHP 7.3+ and has MYSQL 5.6+.

List of minimal requirements for: 2MAX.io Classified Ads 

  • PHP 7.3+, recommended PHP 8+
  • MYSQL 5.6+ with innodb FULL TEXT SEARCH support, recommended MYSQL 8+
  • new, empty database only for this app
  • crontab
  • .htaccess support, in most cases apache with mod_rewrite or compatible
  • MYSQL with disabled sql_mode option ONLY_FULL_GROUP_BY, more info bellow (in most cases it is default)
  • PHP extensions:
Extension name
pdo
pdo_mysql
intl
mbstring
openssl
dom
gd
iconv
zip
curl
Those are almost always included by default:
pcre
ctype
fileinfo
json
simplexml
session
tokenizer
SPL
libxml
xml
xmlwriter

Nice to have requirements:

  • opcache extension for PHP – for best performance
  • Cloudflare free plan – put this app behind Cloudflare, for best performance and security: https://www.cloudflare.com/plans/
  • HTTP/2 support in your web server – for best performance
  • mod_expires – for best performance
  • libsodium PHP extension for best login performance

minimal installation of PHP (example):

for php 7.3

apt install php7.3 php7.3-cli php7.3-common php7.3-mysqlnd php7.3-xml php7.3-gd php7.3-mbstring php7.3-curl

for php8

apt install php8.0-fpm libapache2-mod-fcgid php8.0-cli php8.0-common php8.0-mysql php8.0-mysqlnd php8.0-xml php8.0-dom php8.0-intl php8.0-gd php8.0-mbstring php8.0-curl

Checking MYSQL requirement

 to check mysql requirement you must access mysql database and execute query:

select @@innodb_version;

returned value should be at least 5.6*

you can use for this phpmyadmin, adminer or other software that you use to execute queries to database

Disabling sql_mode: ONLY_FULL_GROUP_BY

described in: Problem with SQL mode, disable sql_mode: ONLY_FULL_GROUP_BY

Configuration to meet requirements in popular hosting panels: