What are the PHP requirements for running Composr?

  • By
  • Added
  • 5 views
Question What are the PHP requirements for running Composr?
Answer Composr requires PHP 7.2 or higher, but versions not officially supported by PHP developers are discouraged. The maximum tested version is PHP 8.3.

Required PHP extensions:
  • GD2 (gd) with PNG and JPEG support
  • MySQL extension (mysqli or pdo_mysql)
  • XML extension (xml)
  • Multibyte String (mbstring)
  • cURL extension (curl)
  • JSON support (usually available by default)
  • Sodium (libsodium)
  • ZIP extension (zip) if ZIP file support is needed

Additional recommendations:
  • posix extension for permission checks
  • zlib extension for faster upgrades, compressed backups, and page compression
  • ctype extension for slightly faster performance
  • IMAP extension (imap) for managing newsletter bounces
  • OpenSSL extension (openssl) for encrypted CPFs, DKIM, and SSL certificate expiry checks
  • Pspell (pspell) or Enchant (enchant) extensions for spell checking

Ensure the following PHP settings are configured:
  • File upload size limit of at least 5MB (or higher as needed)
  • Maximum execution time of at least 30 seconds
  • Memory limit of at least 128MB
  • The installer will warn you if any critical functions have been disabled via disable_functions or other PHP modifications. Avoid web hosts that heavily restrict standard PHP functionality.
Edited

Rating

Unrated