search
HomeBackend DevelopmentPHP7How to install PHP7.3 on Debian 10?

PHP 7.3 is the latest stable version available for installation. This article will introduce you to how to install the latest version of PHP on Debian systems. Now follow this tutorial to install PHP7.3 on Debian 10, (Buster).

How to install PHP7.3 on Debian 10?

Debian 10 is still in development. Therefore, this tutorial is tested using Debian 10 daily builds.

Prerequisites

Log in to your Debian 10 system using shell access. Run the following command to upgrade the current package to the latest version. For remote systems, use SSH to connect. Windows users can use Putty or other alternative applications for SSH connections.

Run the following command to upgrade the current package to the latest version.

$ sudo apt update 
$ sudo apt upgrade

Installing PPA on Debian 10

Let us execute the following command to first install the required packages on the system. Then import the package signing key. Then configure the PPA for the PHP package on your system.

$ sudo apt install ca-certificates apt-transport-https 
$ wget -q https://packages.sury.org/php/apt.gpg -O- | sudo apt-key add -
$ sudo echo "deb https://packages.sury.org/php/ buster main" | tee /etc/apt/sources.list.d/php.list

Your Debian 10 system is ready for PHP installation.

Installing PHP on Debian 10

You can install the latest PHP version on your system. Run the following command to install PHP 7.3 on Debian 10.

$ sudo apt update
$ sudo apt install php7.3

Also install the required php modules.

$ sudo apt install php7.3-cli php7.3-common php7.3-curl php7.3-gd php7.3-json php7.3-mbstring php7.3-mysql php7.3-xml

After installation, use the following command to verify the installed PHP version

$ php -v

PHP 7.3.1-1 (cli) (built: Jan 13 2019 10:13:20) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.1, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.1-1, Copyright (c) 1999-2018, by Zend Technologies

Related recommendations: "PHP Tutorial"

This article is about The method of installing PHP7.3 on Debian 10 (Buster) is introduced. I hope it will be helpful to friends in need!

The above is the detailed content of How to install PHP7.3 on Debian 10?. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool