Can multiple versions of php be installed?

WBOY
Release: 2023-03-15 20:32:01
Original
2725 people have browsed it

php can install multiple versions. Installing multiple versions of PHP requires installation on the same IIS server. You must follow the steps described in the "php.net" document and "IIS 7.0" and later versions. You cannot use the installer in the system because the installation program in the system The program does not support parallel installation.

Can multiple versions of php be installed?

The operating environment of this article: centos 7 system, PHP version 7.1, Dell G3 computer.

Can multiple versions of php be installed?

Can multiple versions of PHP be installed. Note: To install multiple versions of PHP on the same IIS server at the same time, you must install them manually according to the steps described in the php.net documentation IIS 5.1 and IIS 6.0 and IIS 7.0 and later versions.

PHP multi-version installation steps:

1. php -v, check the current version

2. Install PHP ./install.sh mphp, Select the version to be installed

1. There will be an additional enable-php**.conf configuration under /usr/local/nginx/conf

enable-php.conf is version 5.6

enable-php7.2.conf is the newly installed version 7.2

Can multiple versions of php be installed?

##3. Add the site and select the PHP version in vhost. The default is version 5.6

Can multiple versions of php be installed?

4. Restart lnmp restart

Recommended study: "

PHP Video Tutorial"

The above is the detailed content of Can multiple versions of php be installed?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
php
source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!