Last active
April 5, 2022 18:02
-
-
Save acacha/7b21043ec1cfa06b551ea75aa86edff0 to your computer and use it in GitHub Desktop.
Actualització Ubuntu 20.02 a PHP8 per a Laravel ) i canvis a Valet Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt install software-properties-common | |
$ sudo add-apt-repository ppa:ondrej/php | |
$ sudo apt update | |
$ sudo apt install php8.0-fpm php8.0-cli php8.0-common php8.0-curl php8.0-gd php8.0-mbstring php8.0-mysql php8.0-opcache php8.0-readline php8.0-sqlite3 php8.0-xml php8.0-zip | |
$ laravel -v | |
Laravel Installer 4.2.9 | |
$ composer global update | |
$ laravel -v | |
Laravel Installer 4.2.10 | |
$ laravel new prova && cd prova | |
$ php artisan --version | |
Laravel Framework 9.0.2 | |
$ sudo systemctl status php8.0-fpm | |
$ rm /home/sergi/.valet/valet.sock | |
$ valet install | |
$ valet start | |
$ sudo systemctl status php8.0-fpm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Merci @l3lackJack