Install PHP Extension

Install a PHP extension for your version and reload FPM.

Installs a PHP extension using apt and verifies it loaded. Extension packages follow the pattern php{version}-{extension}. The -m flag lists loaded modules to confirm success.

When you need this: When your application requires a PHP extension not included in the default installation.

Variables

Command


        
9 views 0 copies
Log in to rate
Log in to save

Free account. Save snippets into your own collections.