Does iis support php?

(*-*)浩
Release: 2023-02-26 15:26:01
Original
5462 people have browsed it

IIS is a Web (web page) service component, which includes Web server, FTP server, NNTP server and SMTP server, which are used for web browsing, file transfer, news service and email sending respectively. It makes the network ( It has become very easy to publish information on the Internet and LAN).

Does iis support php?

Under normal circumstances, the windows server system only supports IIS asp or IIS aspx by default, but sometimes our website program is PHP. Therefore, we need to configure IIS to support PHP. (Recommended study: PHP video tutorial)

I won’t go into details about how to install IIS. Today I will mainly talk about how to configure IIS to support PHP.

We first need to download the PHP compressed package. Here we use the php-5.2.5 64-bit version. And I have modified the configuration file inside, so you can just download it and use it.

Download it, unzip it to the C drive, and then change the folder name to php.

Does iis support php?Open our server management and double-click the handler mapping.

Does iis support php?Then add module mapping

Does iis support php?Fill in the following content

Does iis support php?

Then click OK, we will be prompted whether to add it, we just choose OK.

Does iis support php?Then add index.php to the default document

Does iis support php?

Then add it to our website Create a new index.php file in the root directory with the following content

<?php phpinfo(); ?>
Copy after login

. When accessed, if you see the following, it means that the configuration supports PHP successfully

Does iis support php?

The above is the detailed content of Does iis support php?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
php
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