Enable Windows hosts to support PHP and MySQL in IIS

Source: Internet
Author: User
Tags ini mysql in php and php and mysql require win32
First, the php compressed package (PHP4.3.2 here for example) decompress to C: php-4.3.2-Win32 directory, and then find a named php. ini-recommended file, rename it php. ini.

2. Open the file and find extension_dir = ". /", change it to extension_dir =" C: php-4.3.2-Win32extensions "; then find the session. save_path =/tmp and change it to session. save_path = C: php-4.3.2-Win32sessions. (Note: Now you need to create the sessions folder under the C: php-4.3.2-Win32 directory to store the session .)

3. Copy the modified php. Ini file to the C: winnt Directory, copy the php4ts. dll file under C: php-4.3.2-Win32 to the C: winntsystem32 directory.

4. Open "Internet service manager", select the site that you want to support PHP, open the properties page, click the "ISAPI filter" tab, and click "add ", fill in "php" in the "filter name" in the pop-up "filter properties" window; fill in "C: php-4.3.2-Win32sapiphp4isapi.dll" in "executable files" (as shown in the figure below ), click OK.

  现在你的IIS已经完全支持PHP MYSQL了
Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

11.11 Big Sale for Cloud

Get Unbeatable Offers with up to 90% Off,Oct.24-Nov.13 (UTC+8)

Get It Now >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.