To enable extensions, verify that they are enabled in your .ini files: in ubuntu


Curl doesnt stay in php.ini

for ubuntu you need install it from terminal

install it like this

sudo apt-cache search php-curl


Run the update comand:

They mycript is missing and needs to be installed:

Run the upgrade command:

Install the php-mbstring which is also missing:

Install the phpunit which is also missing:

sudo apt-get install php7.0-gd

Configure the PHP Processor

We now have our PHP components installed, but we need to make a slight configuration change to make our setup more secure.

Open the main php-fpm configuration file with root privileges: