Home > Backend Development > PHP Problem > How to install php tutorial

How to install php tutorial

王林
Release: 2023-02-25 20:02:01
Original
49279 people have browsed it

How to install php tutorial

Recommended: 1. PHP installation and configuration tutorial (latest) 2. PHP training online

#1. We use Baidu to search for the keyword "php download", find and open the PHP official website in the search results.

2. On the "downloads" page of the website, find the php5.6 version (the installation method is the same as 5.3), and click the "Windows downloads" link.

How to install php tutorial

3. On the newly opened page, click the "zip" link in the "Thread Safe" column to download the php5 installation package

How to install php tutorial

4. Double-click to open the downloaded installation package, and extract the compressed file to the D:\php5\ folder (the directory can be modified as needed, but it is best not to contain Chinese characters, spaces, or special symbols).

How to install php tutorial

5. Find the php.ini-development file in the D:\php5\ directory, open it with Notepad, and search for the "extension_dir" character. You will find two results. , we need to find extension_dir under "On windows:", remove the preceding semicolon, and modify it according to the actual path of the PHP directory, here it is modified to: extension_dir = "D:/php5/ext"

How to install php tutorial

6. Search for "extension=php_", delete the semicolon before the corresponding function package as needed, and enable the corresponding function package. You can also wait until the later opening needs it before turning it on. If you are confused, delete all previous distinctions.

How to install php tutorial

7. Save the modified php.ini-development file as php.ini, and copy a copy to the system directory C:\windows directory (if your The system is not on the C drive, please operate according to the actual situation).

How to install php tutorial

Recommended tutorial: PHP video tutorial

The above is the detailed content of How to install php tutorial. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php怎么安装教程
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 Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template