search
HomeBackend DevelopmentPHP ProblemHow to modify apache php version

How to modify apache php version

Jul 14, 2021 pm 02:07 PM
apachephp

How to modify the php version of apache: first disable the previous php version, such as [a2dismod php7.0]; then enable the new php version, such as [a2enmod php7.3]; and finally re-enable apache.

How to modify apache php version

The operating environment of this article: ubuntu 5.4.0 system, apache 2&&php 7.3&&php 7.0, thinkpad t480 computer.

In this article, we will introduce how to modify the php version of apache 2. Let’s take a look.

For example, if we want to upgrade php7.0 to php7.3, what should we do?

Install php7.3

apt-get install php7.3

Disable php7.0

a2dismod php7.0

Enable php7.3

a2enmod php7.3

Restart apache2

service apache2 restar

Related videos Tutorial sharing: php video tutorial

The above is the detailed content of How to modify apache php version. 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

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

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.