docker-apache-php
- paths
- versions
- extensions
Psalm is an open-source static analysis tool for PHP that helps you identify both obvious and hard-to-spot bugs in your code.
1. Add PPA ondrej/php sudo add-apt-repository ppa:ondrej/php sudo apt update 2. Current PHP packages dpkg -l | grep php | tee packages.txt 3. Install PHP 7.2 sudo apt install php7.2 php7.2-common php7.2-cli php7.2-fpm If you are using Apache with prefork MPM (type apachectl -V to see the MPM used), you’d need to install libapache2-mod-php7.2 instead of php7.2-fpm. 4. Install additional modules Take a look at the packages.