![how to install curl php extension on ubuntu 16.04 how to install curl php extension on ubuntu 16.04](https://www.linuxbabe.com/wp-content/uploads/2017/05/ubuntu-mediawiki-554x360.png)
To install Laravel 6.0 LTS using Composer run the create-project command described below.
![how to install curl php extension on ubuntu 16.04 how to install curl php extension on ubuntu 16.04](https://www.yinfor.com/wp-content/uploads/2017/04/dbase-ext-php70-500x257.png)
Now navigate to /var/www/html directory, which is the public HTML directory for Apache in Ubuntu. So let’s move to install Laravel 6.0 LTS on our Ubuntu 16.04 LTS Server. To verify the install of the composer run the below command. curl -sS | sudo php -install-dir=/usr/bin -filename=composer We will use it to download and install the Laravel Core and all the required Laravel components.įor download and install the latest version of Composer in Ubuntu 16.04 LTS run the following command. Sudo service apache2 status Install ComposerĬomposer a dependency manager tool for PHP like node’s npm and ruby’s bundler. You can verify that PHP and Apache are installed by using the following command. Meanwhile, when you install PHP packages the Apache webserver packages are installed with them automatically. sudo apt-get -y install libapache2-mod-php7.4 php7.4-bcmath php7.4-json php7.4-mbstring php7.4-xml zip Now, install the additional required PHP Extensions by using the following command. sudo apt -y install software-properties-commonĪfter that, install PHP 7.4 using the below command. So, Add the Ondrej PHP repository to install PHP 7.4 in Ubuntu by using the following command. But the default repository of Ubuntu 16 is not providing packages for PHP7.4. PHP 7.4 is the latest stable version of PHP released on 28 November 2019. On the other hand, the following components are needed for Laravel 6.0 LTS.
#HOW TO INSTALL CURL PHP EXTENSION ON UBUNTU 16.04 UPDATE#