PHP5 - 安装错误 - 400错误请求 [英] PHP5 - Installation Error - 400 Bad Request

查看:74
本文介绍了PHP5 - 安装错误 - 400错误请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我一直渴望尝试PHP5,所以我把它丢弃在我的小开发机器上。它正在运行带有IIS5的WinXP。我把php-cgi.exe放在了

" mappings"因为我习惯于使用PHP4。我已经在C:\ Windows中设置了我的php.ini所有




我创建了一个index.php,其中包含:<?php的phpinfo(); ?>

当我尝试查看该页面时,我收到HTTP 400 - 错误请求。


任何人都可以帮助我吗?我哪里错了?!


- neur0maniak

Hi,

I''ve been eager to try out PHP5, so I''ve dumped it on my little dev
machine. It''s running WinXP with IIS5. I''ve put the php-cgi.exe in the
"mappings" page as I''m used to doing with PHP4. I''ve got my php.ini all
set in C:\Windows.

I created an index.php containing: <?php phpinfo(); ?>
When I try to view the page, I get "HTTP 400 - Bad Request".

Can anyone out there help me? Where am I going wrong?!

- neur0maniak

推荐答案

neur0maniak写道:
neur0maniak wrote:


我一直渴望尝试PHP5,所以我把它丢弃在我的小型机器上。它正在运行带有IIS5的WinXP。我把php-cgi.exe放在了
映射中。因为我习惯于使用PHP4。我已经将我的php.ini设置在C:\ Windows中。

我创建了一个index.php,其中包含:<?php phpinfo(); ?>
当我尝试查看该页面时,我收到HTTP 400 - 错误请求。

任何人都可以帮助我吗?我哪里错了?!

- neur0maniak
Hi,

I''ve been eager to try out PHP5, so I''ve dumped it on my little dev
machine. It''s running WinXP with IIS5. I''ve put the php-cgi.exe in the
"mappings" page as I''m used to doing with PHP4. I''ve got my php.ini
all set in C:\Windows.

I created an index.php containing: <?php phpinfo(); ?>
When I try to view the page, I get "HTTP 400 - Bad Request".

Can anyone out there help me? Where am I going wrong?!

- neur0maniak




您是否在IIS中定义了.php扩展名?


-

如果互联网是马克斯兄弟电影,网络,电子邮件和IRC是Groucho,Chico和Harpo,那么Usenet是Zeppo。



Have you defined the .php extension in IIS?

--
If the Internet is a Marx Brothers movie, and Web, e-mail, and IRC are
Groucho, Chico, and Harpo, then Usenet is Zeppo.


Berislav Lopac写道:
Berislav Lopac wrote:
你在IIS中定义了.php扩展吗?
Have you defined the .php extension in IIS?




是的,我已经按照以前的方式完成了php4工作。


这就是我做到的: http://www.neur0maniak.co.uk/phpsetup.png


" neur0maniak" <我们**** @ neur0maniak.co.uk>在消息中写道

news:40 *********************** @ ptn-nntp-reader02.plus.net ...
"neur0maniak" <us****@neur0maniak.co.uk> wrote in message
news:40***********************@ptn-nntp-reader02.plus.net...
Berislav Lopac写道:
Berislav Lopac wrote:
你在IIS中定义了.php扩展吗?
Have you defined the .php extension in IIS?



是的,我做到了就像我过去常常让php4工作一样。

这就是我做到的: http://www.neur0maniak.co.uk/phpsetup.png




是的 - 同样的问题在这里 - 4.3.8工作完美,无法获得5显示

任何东西 - XP SP1 Pro



yep - same problem here - 4.3.8 works perfect, cannot get 5 to display
anything - XP SP1 Pro


这篇关于PHP5 - 安装错误 - 400错误请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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