...
Notes about configuration details: As a baseline reference, we use set our technical requirements based on the APT packages of the current second-latest Ubuntu LTS release and its default configuration. We recommend using the this second-latest Ubuntu LTS and build the stack from its default packages. Alternatively, install and configure a comparable setup.
...
php-cli
php-common
php-fpm
php-gd
php-json
php-bcmath
php-mbstring
php-mcrypt
php-mysql
php-opcache
php-readline
php-soap
php-xml
php-zip
php-curl
php-apcu (optional)
php-imagick (optional)
Non-standard PHP Extensions
...
Helpful detail PHP.ini settings
Depends It depends on many factors (trust consult with your server administrator), Propose . We recommend you to propose these settings to your server administrator:
...