← Back to wiki index

PHP requirements

You will need PHP 5.6 (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):

You will also need PHP command line binary (needed to run update daemon and other CLI tools).


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.

Generated at Tue 28 Jul 2020 03:30:48 AM UTC