Home Backend Development PHP Problem How to install the php interpreter

How to install the php interpreter

Sep 11, 2020 am 09:15 AM
php interpreter

How to install the php interpreter: first download the zip package in "VC11 x64 Thread Safe"; then extract it to the "C:\php" directory; finally copy the "php.ini-development" file , and rename it to "php.ini".

How to install the php interpreter

Recommended: "PHP Video Tutorial"

The first step of installing and configuring PHP under Windows

The first step is to download and install the PHP interpreter:

1. Download the Windows version of the PHP interpreter, download address: official download (https://windows.php. net/download/)

I downloaded the zip package below VC11 x64 Thread Safe

2. After the download is completed, unzip it to the C:\php directory, then open the directory and unzip the directory There is an ext subdirectory under it, which saves some extension dlls of php

There are also 2 files, one is php.ini-development and the other is php.ini-production. It can also be seen from the name that it is a development environment. The difference from the production environment

3. Copy a copy of the php.ini-development file and rename it to php.ini, then open it for editing with Notepad:

Find; extension_dir = "ext " Delete the first semicolon

Find;extension=php_mbstring.dll Delete the first semicolon

Next step is to download and install the IDE development environment and do .Net me , choose to use NetBeans:

1. Download and install Java's JDK, because NetBeans requires a jdk environment. Search JDK on Baidu and download it first. You can also go to: Official Download

2. Download and install NetBeans, download address: official download, be careful to choose which version to download PHP or ALL

3. After the NetBeans installation is completed, you need to configure the PHP interpreter path and open the menu tool = 〉Option, in the PHP routine, after the PHP5 interpreter, select the directory where the php decompressed in the first step is located, such as: c:\php\php.exe

4. You can use NetBeans to create a new project. First For each project, you can choose PHP's TodoList in "Samples".

Note: When running the TodoList project, if the web page reports an error: Call to undefined function mb_internal_encoding()

Please confirm whether you have configured it according to step 3 of the first step

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

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

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

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1663
14
PHP Tutorial
1264
29
C# Tutorial
1237
24