Skip to main content
This page outlines the necessary components and configurations to ensure your server is ready to host Magic Ads efficiently.
PHP Version Supported: Minimum required php version is 8.2.

Core Requirements

PHP and MySQL Versions

Currently script is fully tested for PHP 8.2 and PHP 8.3 versions

PHP Version

PHP 8.2 or PHP 8.3

MySQL Version

5.7 or later

Essential PHP Extensions

To run Magic Ads smoothly, make sure your PHP installation includes these extensions:
  • bcmath
  • ctype
  • curl
  • dom
  • fileinfo
  • gd
  • iconv
  • intl
  • json
  • mbstring
  • mysqli
  • openssl
  • PDO
  • pdo_mysql
  • tokenizer
  • xml
  • zip
  • exec()
  • shell_exec()
  • file_get_contents()

Minimum Server Requirements

You can host Magic Ads both on a shared hosting or on a VPS, decision is fully up to you and your budget. We recommend to select a hosting that allows you to enabled required PHP extensions and features. To ensure optimal performance of Magic Ads, we recommend the following minimum server specifications:

Memory

2 GB RAM or more

CPU

2 vCPUs or more
For higher traffic deployments (sizing target of ~10,000 daily active users), use the following recommended server tiers to understand what hardware specs fit your needs:
TierWeb/App nodeWorker nodeData servicesStorageUse case
Minimum viable4 vCPU / 8 GB(shared on same box)MySQL + Redis on same boxObject storage + CDN (offloaded)Soft launch, ramping toward 10k, video kept low
Recommended4 vCPU / 8 GB8 vCPU / 16 GB (FFmpeg + workers)Managed MySQL (2 vCPU / 4–8 GB) + managed Redis (1–2 GB)S3-class + CDNSteady 10k DAU with real video volume
Headroom2× 4 vCPU / 8 GB behind load balancer8–16 vCPU / 16–32 GB, autoscaleManaged DB w/ read replica + RedisS3 + CDNPeaky traffic, growth past 10k