在 Windows Server 2003 上安装 PHP 5 - %1 不是有效的 Win32 应用程序 [英] Installing PHP 5 on Windows Server 2003 - %1 is not a valid Win32 application

查看:23
本文介绍了在 Windows Server 2003 上安装 PHP 5 - %1 不是有效的 Win32 应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在带有 IIS 6 的 Windows Server 2003 环境中安装 PHP 5

I am trying to install PHP 5 on a Windows Server 2003 environment with IIS 6

安装 PHP 并在 IIS 中进行必要的更改后,出现以下错误

After installing PHP, and making the necessary changes in IIS, I get the following error

%1 is not a valid Win32 application.

  • 服务器不是 64 位,而是 32 位.我已经添加了 FastCGIWeb 服务扩展中的处理程序,
  • 我在
  • 中添加了 PHP 处理程序
  • Web 服务扩展,我也去了网站属性"并单击配置:并设置适当的映射,
  • 我已按照 Microsoft 的要求安装了 reditrubition 文件...
    • The server is not 64bit, it is 32bit. I have added the FastCGI handler in Web Service Extensions,
    • I have added the PHP handler in
    • Web Service Extensions, I have also gone to "Web Sites Properties" and clicked on Configuration: and set the appropriate mappings,
    • I've installed the reditrubition files as required by Microsoft...
    • 我终其一生都无法弄清楚为什么它不起作用.

      I cannot for the life of me work out why it is not working.

      有人可以帮忙吗?!

      推荐答案

      通过安装正确的相应版本和依赖项,我的安装终于可以正常工作了.我希望这会有所帮助.

      Finally got my installation working by installing the correct corresponding versions and dependencies. I hope this helps.

      在 IIS 6 上

      在 IIS 7 上

      这篇关于在 Windows Server 2003 上安装 PHP 5 - %1 不是有效的 Win32 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆