This guide covers detailed system requirements for a Drupal 8 installation.
Drupal 8 system requirements
PHP version: 7.0.8 or higher (7.4 recommended)
PHP Memory: the minimum memory size of 64MB (if you are running multiple modules on your site or using memory-intensive PHP-based command-line tools (such as Composer), considerably more memory than that may be needed.)
PHP extensions needed: PDO, XML, GD-library, OpenSSL, JSON, cURL, Mbstring.
Database: MySQL - 5.7.8 (MariaDB 10.3.7, Percona 5.7.8) or higher (with an InnoDB-compatible primary storage engine)
Apache: 2.4.7 or higher hosted on UNIX/Linux
Disk space: Minimum 100MB (You will need more space if you install additional modules or themes, and you’ll also need space for media, backups, and other files generated by and uploaded to your site)
Memory requirements RAM: The minimum required memory size is 64MB (Typically 128 MB or 256 MB are found in production systems)
Be aware of the limitations of 32-bit PHP.