Use coder.com for Laravel Development
apt-get update && apt-get upgrade
First, make sure you have the following package installed so you can add repositories:
apt-get install software-properties-common
Next, add the PHP repository from Ondřej:
add-apt-repository ppa:ondrej/php
TO FIX KEY PROBLEM
sudo apt-key update
And finally, update your package list:
apt-get update
After you’ve added the repository, you can install PHP 7.3 with the following command:
apt-get install php7.3
And that’s it. To check if PHP 7.3 is installed on your server, run the following command:
php -v
apt-get install php-pear php7.3-curl php7.3-dev php7.3-gd php7.3-mbstring php7.3-zip php7.3-mysql php7.3-xml php7.3-bcmath
/etc/init.d/mysql start
mysql -u root
create database wisheed
GRANT ALL PRIVILEGES ON . TO 'wisheed'@'localhost' IDENTIFIED BY 'wisheed';