Home  >  Article  >  Backend Development  >  How to install php5.3

How to install php5.3

藏色散人
藏色散人Original
2021-03-26 10:13:021993browse

How to install php5.3: First download the php installation package from the PHP official website; then extract the compressed file to the "D:\php5\" folder; then modify the php.ini configuration file; finally Just create a new website configuration for testing.

How to install php5.3

The operating environment of this article: windows7 system, php5.3 version, DELL G3 computer

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

How to install php5.3

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 php5.3

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

How to install php5.3

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 php5.3

Find the php.ini-development file in the D:\php5\ directory, open it with Notepad, and search for the "extension_dir" character. Two results will be found. We You 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 php5.3

Look 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. [Recommended learning: PHP video tutorial]

How to install php5.3

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

How to install php5.3

In this way, the installation of php5 is complete, and you can create a new website configuration for testing. Let’s learn it, everyone!

The above is the detailed content of How to install php5.3. 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