Install PHP with common extensions

Install a specific PHP version with the extensions most web apps need (mysql, curl, zip, xml, mbstring, gd, intl).

Installs PHP with the extensions commonly required by Laravel: mbstring, xml, curl, zip, bcmath, and the mysql/pgsql drivers. Missing extensions cause cryptic composer or artisan errors.

When you need this: When setting up a PHP application server, especially for Laravel.

Variables

Command


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

Free account — save snippets into your own collections.