PhpCompatibilityNotes
fox edited this page 4 months ago

Detailed PHP requirements

You need PHP 5.4 (or newer, PHP 7 is fine) compiled with the following modules (those are actually very common and should be available in any reasonable Linux distro):

  • PDO with support for PostgreSQL or MySQL depending on the database server used
  • Legacy PostgreSQL or MySQL drivers may be needed for plugins not yet migrated to PDO
  • JSON
  • XML (DOMDocument)
  • mbstring
  • fileinfo
  • CURL (not required, but highly recommended) OR support for remote fopen()
  • POSIX functions (for the multiprocess update daemon, otherwise not needed)
  • GD (needed for OTP and some plugins)

Notes:

  • If your PHP install is missing any of the required modules tt-rss should notify you on startup.
  • Enabling PHP built-in opcode cache or some other kind of accelerator is a good idea.
  • Plugins may have additional dependencies i.e. several bundled plugins require CURL.
  • PHP safe mode is not supported.