summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfox <[email protected]>2018-05-30 11:36:39 +0000
committerfox <[email protected]>2018-05-30 11:36:39 +0000
commit5c85d78b1e0b80b000821f9decdb590a07bca3ea (patch)
tree3f1f67613dbe7b3d13131beeb2f99c2290125bcf
parent83c54a2161c9ed4ec605b7163c1ca268e0def2fb (diff)
Update page 'PhpCompatibilityNotes'
-rw-r--r--PhpCompatibilityNotes.md20
1 files changed, 15 insertions, 5 deletions
diff --git a/PhpCompatibilityNotes.md b/PhpCompatibilityNotes.md
index d7db988..a9b6f75 100644
--- a/PhpCompatibilityNotes.md
+++ b/PhpCompatibilityNotes.md
@@ -3,19 +3,29 @@
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
+- PDO with support for PostgreSQL or MySQL depending on the database server used - some distributions need both PDO and database-specific drivers, i.e. php-pgsql
- JSON
-- XML (DOMDocument)
+- XML (DOMDocument, DOMXpath)
- mbstring
- fileinfo
-- CURL (not required, but highly recommended) OR support for remote fopen()
+
+### Not required, but recommended:
+
+- CURL (highly recommended, just install it) **OR** support for remote fopen()
- POSIX functions (for the multiprocess update daemon, otherwise not needed)
- GD (needed for OTP and some plugins)
### Notes:
+* Some kind of opcode cache/accelerator is recommended (depends on PHP version/distro: php5-apc, php7-opcache, etc)
* 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.**
+
+### Debian 9 example:
+
+<code>
+# apt install php7.0-cli php7.0-curl php7.0-mbstring php7.0-json php7.0-gd php7.0-pgsql php7.0-xml php7.0-opcache
+</code>
+
+If you're starting from scratch you will also likely need several other packages, including httpd and FPM. \ No newline at end of file