Skip to main content

Posts

Showing posts with the label UBUNTU

How To Install PHP 7.4 and PHP 7.3 ON Ubuntu 18.04/19.04/16.04

How to Install PHP 7.4 / PHP 7.3 on Ubuntu?. This guide will help you Install PHP 7.4 / PHP 7.3 on Ubuntu 18 / Ubuntu 16 /  Ubuntu 19 . PHP is an open-source server-side scripting language which has been widely adopted for the creation of dynamic web pages. PHP is secure, fast, simple, efficient, flexible and a loosely typed scripting language. The PHP release 7.4.0 has been made available for the general public and for use in Production environments. How to install PHP 7.4 on Ubuntu 18.04 / Ubuntu 19.04 / Ubuntu 16.04 Step 1: Add PHP 7.4 PPA Repository We’ll add ppa:ondrej/php PPA repository which has the latest build packages of PHP. sudo apt-get update sudo apt -y install software-properties-common sudo add-apt-repository ppa:ondrej/php sudo apt-get update Step 2: Install PHP 7.4 on Ubuntu 18/ Ubuntu 19/ Ubuntu 16 Install PHP 7.4 on Ubuntu 18.04/19.04/16.04 using the command: sudo apt -y install php7.4 Check version inst...

apt-get Command & Examples in Linux [Beginners Guide]

apt-get command & Examples in Linux apt-get is a command-line tool which helps in handling packages in Linux. Its main task is to retrieve the information and packages from the authenticated sources for installation, upgrade and removal of packages along with their dependencies. Here APT stands for the Advanced Packaging Tool. APT (Advanced Package Tool) is the command line tool to interact with this packaging system. There are already dpkg commands to manage it, but apt is a more user-friendly way to handle packages. You can use it to find and install new packages, upgrade packages, clean your packages, etc. Syntax : Command : apt-get [options] command or Command : apt-get [options] install|remove pkg1 [pkg2 ...] or Command : apt-get [options] source pkg1 [pkg2 ...] Most Used Commands: You need to provide one of the commands below, if -h option is not used. update : This command is used to synchronize the package index files from their sources ag...

Working with multiple versions of PHP 7.3, 7.2, 7.1, 7.0 & 5.6 on Ubuntu

  Sometimes PHP developers need to work on multiple versions of PHP for different projects and one might think of using a docker installation, which is a better idea of what we are going to do below, but Docker can be complicated for many reasons and one might not be ready to get started with Docker. In the below article, I will be explaining how one can work with multiple PHP version on Ubuntu. I am using ubuntu 18.10 and the below article for me without any issues. Install PHP (5.6, 7.0, 7.1, 7.2 and 7.3) on Ubuntu Using PPA 1.   Adding  OndÅ™ej PPA  to install different versions of PHP –  PHP 5.6 ,  PHP 7.0,   PHP 7.1, PHP 7.2  and  PHP 7.3  on the system. sudo apt-get install software-properties-common ## sudo apt install python-software-properties sudo add-apt-repository ppa:ondrej/php 2.    Update the system Make sure you have the  sudo  privileges to do so. sudo apt-get update ...