Installing PHP

From Leechfinger
Jump to navigationJump to search

Installing PHP

Installing PHP and useful components.

# apt install -y php libapache2-mod-php php-cli php-fpm php-json php-pdo php-mysql php-zip php-gd php-mbstring php-curl php-xml php-pear php-bcmath

Modules needed for Images.

# apt install php-intl php-imagick php-gmp php-common php-apcu composer imagemagick libmagickcore-6.q16-6-extra libtool