Installing PHP: Difference between revisions

From Leechfinger
Jump to navigationJump to search
Qais (talk | contribs)
Qais (talk | contribs)
Line 7: Line 7:
Modules needed for Images.
Modules needed for Images.
<syntaxhighlight lang="bash" line>
<syntaxhighlight lang="bash" line>
# apt install php-intl php-imagick php-gmp php-common php-apcu composer
# apt install php-intl php-imagick php-gmp php-common php-apcu composer imagemagick
</syntaxhighlight>
</syntaxhighlight>


[[Category:PHP]]
[[Category:PHP]]

Revision as of 23:51, 17 May 2024

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