Install PHP Extension

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


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

Free account — save snippets into your own collections.