PHP installation configuration in Windows first step

Source: Internet
Author: User
Tags netbeans
The first step is to download and install the PHP interpreter:

1, download the Windows version of the PHP interpreter, download address: Official download
I downloaded the VC11 x64 Thread Safe, the zip package below.

2, after the download is complete, extract to the C:\php directory, and then open the directory, unzip the directory has an EXT subdirectory, save some PHP extension DLL
There are also 2 files, one php.ini-development, one is php.ini-production, from the name can be seen is the development environment and production environment of the difference

3. Copy an php.ini-development file, rename it to PHP.ini, and then open the edit with Notepad:
Find Extension_dir = "Ext" Removes the front-most semicolon
Extension=php_mbstring.dll Delete the front semicolon


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

1, download and install Java JDK, because NetBeans need JDK environment, this Baidu search jdk, come out the first download can, also can go: official download

2, download and install NetBeans, download address: Official download, note to choose to download PHP or all of the version

3, after the installation of NetBeans, to configure the PHP interpreter path, open the Menu tool =〉 option, in the general PHP, PHP5 interpreter Select the first step to extract the PHP directory, such as: C:\php\php.exe

4, you can use NetBeans new project, the first project, you can choose the "sample" in the PHP todolist.

Note: When you run the ToDoList project, the page error: Call to undefined function mb_internal_encoding ()
Please make sure you are not following step 3 of the first step and do the configuration

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.