Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem that iis can't open php program?

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly explains "iis can not open php program how to solve", interested friends might as well take a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn how to solve the problem that iis can't open the php program.

Iis can not open php program solutions: 1, turn off the firewall, install PHP5.3.6;2, create a new website under IIS and store php website files; 3, add index.php as the default document in the documents tab; 4, restart IIS.

The operating environment of this paper: Windows7 system, PHP5.3.6, Dell G3.

What if iis can't open the php program?

How to run PHP under IIS:

First, install PHP5.3.6

1) turn off the firewall and extract the php5.zip to D:\ PHP\ php5

2) copy the php.ini file to the D:\ PHP\ php5 and C:\ WINDOWS directories, respectively

3) assign users group read and execute permissions to the php installation directory (D:\ PHP\ php5)

4) find the file named php_mysqli.dll,php_mysql.dll,libmysql.dll,libmcrypt.dll in the D:\ PHP\ php5 folder and copy it to the C:\ windows\ System32 folder (note: this file is required for IIS to process PHP and MYSQL).

2. Configure IIS

1) create a new website under IIS, where you can store your php website files. For example, create a new virtual directory jihetuan to point to the E:\ jihetuan directory on your computer.

2) on the "Mapping" tab, click "add", open the "add / Edit Application extension Mapping" dialog box, click "Browse" after "executable file", navigate to D:\ PHP\ php5\ php5isapi.dll, enter ".php" in the text box after "extension" (Note: be sure to pay attention to the period before the extension), click OK.

3) add index.php as the default document in the document tab. It may not be added.

4) Click "OK", exit the "Application configuration" dialog box, and then click "OK" to exit the PHP properties dialog box.

5) restart IIS and take effect.

Third, install Mysql

Over.

At this point, I believe that everyone on the "iis can not open the php program how to solve" have a deeper understanding, might as well to the actual operation of it! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report