Home > Backend Development > PHP Tutorial > Detailed explanation of steps to configure application server with Windows PHP_PHP Tutorial

Detailed explanation of steps to configure application server with Windows PHP_PHP Tutorial

WBOY
Release: 2016-07-15 13:27:57
Original
761 people have browsed it

PHP has strong functions and is a free and open source language. It is loved by programmers. Here we teach friends who are planning to learn PHP how to configure application servers in Windows PHP. To process dynamic Web pages, you need an application server.

An application server is a piece of software that helps a web server process web pages that contain server-side scripts or tags. When a browser requests such a page, the Web server passes the page to the application server for processing before sending it to the browser. For more information, see Understanding Web Applications. Make sure the PHP application server is installed and running on the system running IIS. (IIS may be located on your hard drive or on a remote Windows computer.) You can download and install the PHP application server from the PHP Web site at www.php.net/downloads.php.

Install Windows PHP Configuration Application Server (Windows)

In PHP 5, the Windows installer does not install or enable by default allowing PHP to handle MySQL databases Server extensions. You must install and enable the extension manually. Please perform the following operations for Windows PHP configuration:

◆If feasible, log in to the Windows system using an administrator account.

◆Download the Windows PHP 5.x installer from the PHP Web site www.php.net/downloads.php.

◆Double-click the downloaded installer file and follow the on-screen installation instructions.

◆After successfully installing PHP, download the Windows PHP 5.x compressed package from the PHP Web site www.php.net/downloads.php and extract the package to a temporary folder on your hard drive. This tarball contains the extensions needed to work with MySQL.

◆In the temporary folder containing the unzipped files, find the folder named ext and copy it to the C:PHP folder. The ext folder contains commonly used PHP extensions, including MySQL extensions.

◆In the C:Windows folder, find the file named php.ini and open the file in Notepad. This file must be edited to enable the MySQL extension.

◆ Find the following line in the php.ini file: extension_dir = "./" This line specifies where PHP looks for extensions.

◆ Edit this line as follows: Tip: Don’t ignore the final slash. extension_dir = "C:PHPext"

◆Find the following line in the php.ini file: ";extension=php_mysql.dll" The semicolon (;) at the beginning of the line instructs PHP to ignore the line.

◆Remove the semicolon at the beginning of the line to enable the extension to become: "extension=php_mysql.dll"

◆Save and close the php.ini file.

◆In the temporary folder containing the unzipped PHP files, find the file named libmysql.dll and copy it to the C:Windowssystem32 folder. This file is required for IIS to handle PHP 5 and MySQL.

◆Restart IIS.


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/446478.htmlTechArticlePHP has strong functions and is a free and open source language. It is loved by programmers. The teacher here is planning to learn PHP. A friend configured an application server in Windows PHP. To handle dynamics...
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template