How to Install PHP 7.3 on Ubuntu 16.04
Now I am share how to install php 7.3 for your ubuntu 16.04 server. I have previous post for php od version install. If you want so see my old post for old version for php.
- How To Install php 7.4 on Ubuntu 16.04
- 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
Step #01: Must be your server update & upgrade completed using below command.
[email protected]:~# apt update && apt upgrade -y [email protected]:~# add-apt-repository ppa:ondrej/php [email protected]:~# apt update [email protected]:~# apt install apache2 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-fpm libapache2-mod-php7.3 php7.3-imagick php7.3-recode php7.3-tidy php7.3-xmlrpc php7.3-intl [email protected]:~# systemctl start apache2 [email protected]:~# systemctl enable apache2 [email protected]:~# update-alternatives --set php /usr/bin/php7.3 [email protected]:~# a2enmod php7.3 [email protected]:~# systemctl restart apache2 [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