如何在Windows Server 2003的IIS 6上安装PHP

One of most popular development platforms on the web is PHP which powers many popular applications and sites such as Facebook, WordPress and Joomla. While most of these systems are ‘designed’ to be used on a Linux system running the Apache Web Server, you can deploy PHP applications via IIS 6 on your Windows Server 2003 system.

PHP是Web上最流行的开发平台之一,它为许多流行的应用程序和网站(如Facebook,WordPress和Joomla)提供支持。 尽管大多数系统都是“设计”为在运行Apache Web Server的Linux系统上使用的,但是您可以通过IIS 6在Windows Server 2003系统上部署PHP应用程序。

配置PHP (Configuring PHP)

In order for Windows to run PHP code, the PHP binary files need to be copied to your system. No installation is required, however some configuration must be done in order for it to properly run. The first step is to download the PHP Windows Binaries and extract them (i.e. ‘C:PHP’). For IIS 6, the non thread safe binaries should be used.

为了使Windows运行PHP代码,需要将PHP二进制文件复制到您的系统中。 不需要安装,但是必须进行一些配置才能使其正常运行。 第一步是下载PHP Windows Binaries并将其解压缩(即“ C:PHP”)。 对于IIS 6,应使用非线程安全的二进制文件。

image

Copy the ‘php.ini-production’ file from the extracted files paste it into the Windows directory. In the Windows directory, rename this file to ‘php.ini’.

从解压缩的文件中复制“ php.ini-production”文件,然后将其粘贴到Windows目录中。 在Windows目录中,将此文件重命名为“ php.ini”。

image

Open the ‘php.ini’ file in Notepad and configure it as needed. Out of the box, the prod

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值