Install the PHP Exploitation Program server on Windows

Source: Internet
Author: User
To process dynamic web pages, you must use the program server. A program server is a software that helps the Web server process Web pages containing server scripts or tags. When the browser requests such a page, the Web server first passes the page to the application server for processing, and then sends it to the browser. Install PHP Exploitation Program server (Windows)

To process dynamic Web pages, you must use the program server. A program server is a software that helps the Web server process Web pages containing server scripts or tags. When the browser requests such a page, the Web server first passes the page to the application server for processing and then sends it to the browser. For more information, see understand Web application.

Make sure that PHP Exploitation server is installed on the system running IIS and is running. (IIS may be on your hard disk or remote Windows computer .) You can download and install the PHP Exploitation server from the PHP Web site (www.php.net/downloads.php.

In PHP 5, by default, the Windows installer does not install or enable PHP to handle the expansion of the MySQL database server. You must manually install and enable the extension.

  To install PHP 5 on Windows, perform the following operations:

  1. If feasible, the application administrator account is logged on to Windows.
  2. Download the Windows PHP 5.x installer from the PHP Web site www.php.net/downloads.php.
  3. Double-click the downloaded installer file and hold it according to the installation instructions on the screen.
  4. After successfully installing PHP, download the Windows PHP 5.x compressed package from the PHP Web site www.php.net/downloads.php and decompress the package to a temporary folder on your hard disk. This package contains the expansion required to process MySQL.
  5. In the temporary folder that contains the decompressed file, find the folder named ext and copy it to the C: \ PHP \ folder. This ext folder contains common PHP extensions, including MySQL extensions.
  6. In the C: \ Windows folder, find the file named php. ini and open it in Notepad. This file must be compiled to enable MySQL expansion.
  7. Find the following line in the php. ini file: extension_dir = './' this line specifies the position of PHP search for expansion.
  8. Compile the line as follows: prompt not to neglect the last slash. Extension_dir = 'C: \ PHP \ ext \'
  9. Find the following line in the php. ini file: "; extension = php_mysql.dll" the semicolon (;) at the beginning of the line abets PHP to neglect this line.
  10. Delete the semicolon at the beginning of the row to enable extended to: "extension = php_mysql.dll"
  11. Keep and close the php. ini file.
  12. In the temporary folder that contains the decompressed PHP file, find the file libmysql. dll and copy it to the C: \ Windows \ system32 folder. This file is required for IIS to process PHP 5 and MySQL.
  13. Restart IIS.

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.