In this PHP upgrade 7.4 to 8.0 video we'll walk you through what the php upgrade process from 7.4 to 8.0 looks like. It's really not that as hard as it seems!
First, we need to add the Personal Package Archives (PPA.) To do that, run these 3 statements:
sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
Then install PHP 8.0 with this php upgrade command:
sudo apt install php8.0
These are the commands for php package install:
sudo apt install
php8.0-common
php8.0-mysql
php8.0-xml
php8.0-xmlrpc
php8.0-curl
php8.0-gd
php8.0-imagick
php8.0-cli
php8.0-dev
php8.0-imap
php8.0-mbstring
php8.0-opcache
php8.0-soap
php8.0-zip php8.0-intl -y
Disable PHP 7.4 with sudo a2dismod php7.4.
Enable PHP 8.0 with sudo a2enmod php8.0.
Finally, restart Apache with sudo service apache2 restart.
To confirm you're running PHP 8.0 and not PHP 7.4, check your PHP version by running the php upgrade version command "php -v."
These commands should work if you're trying to perform a php upgrade to 8.1 ubuntu, however for php upgrade windows you may need to employ different php upgrade tools. Let us know in the comment section if we need to make a video regarding them.
Enjoy the video!
Music:
Float by Pold / pold-music
Creative Commons — Attribution-ShareAlike 3.0 Unported — CC BY-SA 3.0
Free Download / Stream: https://bit.ly/430U4dF
Music promoted by Audio Library: • Float – Pold (No Copyright Music)
#shorts #reels #php #web #webdevelopment #software #webdeveloper #dev