Create a local PHP debugging environment

Source: Internet
Author: User
For the windows platform, PHP provides an installer, but this installer cannot be directly run to build a personal server platform, but must be embedded into the existing server platform, such: for Windows platforms, PHP provides an installer for IIS, windows PWS, and Ap in WindowsNT, but this installer cannot be run directly to build a personal server platform, instead, it must be embedded in existing server platforms, such as IIS in Windows NT, PWS in Windows, and Apache. Based on my own application experience, I will write out the PHP debugging environment based on the PWS personal server platform. I hope you can provide guidance.
Before installation, download the PHP installation program in windows. The latest version is 4.0. You cannot find it. you can download it directly at the PHP site Http: // www.php.net. then, you can get the updated information. The downloaded file is a compressed package, generally named: php-4.0.x-win32.zip, x represents the version number, you can see the corresponding version, of course, the newer the version better. Decompress the package to the c: \ PHP Directory (for details, click "3rd."). you can see that the directory contains all the files required by PHP.
After the preparation is complete, you can start the installation. First of all, needless to say, install Microsoft PWS first, and set various PWS parameters and related network settings. for details, see relevant materials, you may say that I have paid for the scam. After installation, you 'd better test it first. Otherwise, the following work will be hard. Next, install PHP in several steps.
1. enter the c: \ PHP folder and you can see some *. dll files and other related files. dll files starting with php _ can be stored in c: \ PHP. other dll files must be copied to the system's search path, the commonly used c: \ windows \ system folder.
2. in the c: \ php folder, find php. ini-dist (no extended name), change the file name to php. ini, open the file in notepad, and you can see the PHP system configuration information in it. It is only in English, and it takes a lot of effort. After the corresponding information is corrected, copy the php. ini file to the c: \ windows folder and delete the read-only attribute.

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.