From 460c0139a634092e6e2d3938ef8feb09bc5530e5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 21 Oct 2023 22:51:29 +0000 Subject: fox deleted page: PhpCompatibilityNotes --- PhpCompatibilityNotes.md | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 PhpCompatibilityNotes.md diff --git a/PhpCompatibilityNotes.md b/PhpCompatibilityNotes.md deleted file mode 100644 index 265a54d..0000000 --- a/PhpCompatibilityNotes.md +++ /dev/null @@ -1,41 +0,0 @@ -% PHP requirements - -- ***Host installations are not supported starting 2021. Consider using [Docker](InstallationNotes) when planning new tt-rss installations.*** -- *The following applies to host installations only, updates are handled out of the box if using recommended [dockerized setup](https://git.tt-rss.org/fox/ttrss-docker-compose). The following list may be outdated.* -- *This document is considered deprecated.* - -------- - -You will need PHP 7.1 (or newer) with the following modules enabled: - -- PDO, with support for PostgreSQL or MySQL depending on the database server used (some distributions need both PDO and database-specific packages, i.e. ```php-pdo``` and ```php-pgsql```) -- JSON -- XML (DOMDocument, DOMXpath) -- Internationalization (intl) -- mbstring -- fileinfo - -You will also need a PHP command line interpreter (to run update daemon and other CLI tools). - -### Also recommended - -- CURL (highly recommended, just install it) **OR** support for remote fopen() -- POSIX functions (for the multiprocess update daemon, otherwise not needed) -- GD (needed by some plugins) -- Some kind of opcode cache/accelerator (depends on PHP version: php5-apc, php7-opcache, etc) - -### Notes - -* If your PHP install is missing any of the required modules tt-rss should notify you on startup. -* Plugins may have additional dependencies i.e. several bundled plugins require CURL. - -### Debian 9 example - -``` -$ sudo apt install php7.0-cli php7.0-curl php7.0-mbstring \ - php7.0-json php7.0-intl php7.0-gd php7.0-pgsql php7.0-xml php7.0-opcache -``` - -If you're starting from scratch you will also likely need several other packages, including httpd (e.g. nginx) and FPM. - -Note: Don't forget to enable opcache in php.ini if it's not enabled by default. \ No newline at end of file -- cgit v1.2.3