How To Install php 7.4 on Ubuntu 16.04
Now I want to share how to install php 7.4 on your ubuntu 16.04 server. So this is installation process can be take at least 2 or 3 minutes.
- How to Install PHP 7.3 on Ubuntu 16.04
- How To Install php7.2 In Ubuntu 16.04
- How To Add illustrator Checkbox Symbol
- Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
- Failed To Add Groups File For Repository On Centos 7
[email protected]:~# apt-get update [email protected]:~# apt -y install software-properties-common [email protected]:~# add-apt-repository ppa:ondrej/php [email protected]:~# apt-get update [email protected]:~# apt -y install php7.4 [email protected]:~# apt-get install -y php7.4-{bcmath,bz2,intl,gd,mbstring,mysql,zip} [email protected]:~# vi /var/www/html/tech.php
Insert below line into tech.php file.
<?php phpinfo(); ?>
Now browse your server ip address and see php information
http://Server_ip_address/tech.php