![]() If you face any problem in following this article then you can mention it in the comment section.Īlso Read: How To Install OpenLiteSpeed Web Server on Ubuntu 16. In the article, we learned how to install PHP in Ubuntu 18.04. Verify the installation using the below command. Or you can install multiple packages with a single command like below. To install a PHP package, just run the yum install php- command.For example, if you want to install the PHP JSON package then you should run the following command. With Zend OPcache v7.4.1, Copyright (c), by Zend TechnologiesĪfter that, you can install the additional packages of PHP by using the below command. Zend Engine v3.4.0, Copyright (c) Zend Technologies apt search php7.4 php7.4-tidy focal-updates 7.4.3-4ubuntu2.6 amd64 tidy module. The official PHP website (PHP.net) has installation instructions for PHP: http://. ![]() To see the version of installed PHP, use the below command. install a web server install PHP install a database, such as MySQL. You can also see the available versions of PHP by using the below command.īut in the article, we install the latest PHP 7.4 by using the below command.Īfter that, You get the latest PHP 7.4 installed in Ubuntu Server. So that you can install any version of PHP using this repository. The Ondrej PPA repository is having all the supported PHP packages for ubuntu. Sudo apt-get update Step 2: Install the latest PHP version in Ubuntu 18.04 Sudo apt -y install software-properties-common PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. You can add it by using the below command. In this tutorial we learn how to install php on Kali Linux. Installing the PHP 7.4 with Apache WebserverĪll the Ubuntu supported PHP build packages are present in ppa:ondrej/php PPA repository. ![]() Step 2: Install the latest PHP version in Ubuntu 18.04 sudo yum-config-manager enable remiphp73 sudo yum install php php-common php-opcache php-mcrypt php-cli php-gd php-curl php-mysql y You can update the packages as per your requirement. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |