![]() To check if PHP 7.4 is working correct with apache, create a file named info.php in following location: /var/(you might need to change your html folder permission to add a file to it. Here are some useful command to start / stop or restart apache. On Ubuntu, When requested, you should choose. So we can easily install it with apt install command. To begin, we will install PhpMyAdmin from the distro default repository. ![]() We can easily install them one by one or in a single command like: sudo apt-get install -y php7.4-cli php7.4-json php7.4-common php7.4-mysql php7.4-zip php7.4-gd php7.4-mbstring php7.4-curl php7.4-xml php7.4-bcmath Step 2: Installing apacheĪpache is available in default apt repositories. While working with php we need additional packages. Now use apt to install desired php version sudo apt -y install php7.4 sudo apt install phpmyadmin php-mbstring php-gettext. Now refresh the apt so that it can recognise newly added repository. First update the apt index, and then download and install phpMyAdmin: sudo apt update. sudo mv /usr/share/phpmyadmin/ /usr/share/phpmyadmin.bak Step 2 Download Latest phpMyAdmin Now, download the latest phpMyAdmin archive file from its official download page. However, I have just renamed it to phpmyadmin.bak at the same location. Now add ppa:ondrej/php PPA which has PHP binaries that we are going to install sudo add-apt-repository ppa:ondrej/php Step 1 Backup phpMyAdmin You should take a back up of your current phpMyAdmin directory. Install software-properties-common using apt command so that additional PPA can be added and installed easily sudo apt -y install software-properties-common step 1: installing php 7.4įor run update command : sudo apt-get update Install phpMyAdmin on Digital Ocean Droplet Step 2. Follow the steps below to install PHP 7.4 along with MySql, apache and PHPMyAdmin. How to Install phpMyAdmin with Nginx on DigitalOcean Ubuntu 18.04 Droplet Step 1. ![]() As different versions of PHP are released over time so there are different apt PPA (personal package archives) that maintains the php binaries. Being a PHP developer we frequently come across requirements where we need to install xampp or Apache, PHP, Mysql on ubuntu system (whether server or on local machine).
0 Comments
Leave a Reply. |