How to install all required PHP extensions for Laravel?


This problem can occur while creating Laravel project via composer and the system is missing the PHP extensions.

In order to resolve this, you need to install missing extensions, you can run the following command to resolve this issue.


sudo apt install openssl php-common php-curl php-json php-mbstring php-mysql php-xml php-zip

Once you run the command, the issue will be gone.

Author: Danyal
I'm skilled programmer with expertise in Vue.js/Nux.js for front-end development and PHP Laravel for back-end development. I excel in building APIs and services, and also have experience in web server setup & maintenance. My versatile skill set allows you to develop and maintain web applications effectively, from the user interface to the server-side functionality. I love coding with never ending learning attitude, thanks for visiting