PHP5在Windows Vista中安装 [英] PHP5 install in Windows Vista

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

问题描述

在Linux下使用Apache / MySQL / PHP一年左右之后我只需为了方便起见,在Windows下建立一个并行平台需要


不幸的是,自从我上次这样做(使用Windows XP专业版)以来,我已经将

移至Windows Vista(家庭高级版)。 MySQL和Apache2都安装了令人满意的

,但是我遇到了PHP5的问题。


我下载了PHP5 Windows安装程序(.msi文件)对于32位

Windows,它应该自动完成配置过程,但它报告无法链接到Apache2,并说我必须执行一个

手动配置。


我绝对不是Vista架构方面的专家,但知道它不太可能是旧的b $ b我对XP Pro的说明将直接带来




冷酷的人为我拼出需要做的事,或者指出我

对于一篇可能会引导我的文章吗?


非常感谢。

After having worked with Apache/MySQL/PHP for a year or so under Linux I
need, purely for convenience, to set up a parallel platform under Windows.

Unfortunately, since I last did this (using Windows XP Pro) I''ve moved
on to Windows Vista (Home Premium). MySQL and Apache2 have both
installed satisfactorily, but I''m having problems with PHP5.

I downloaded the PHP5 Windows installer (the .msi file) for 32-bit
Windows, which is supposed to automate the configuration process, but it
reported failure to link to Apache2, and said I would have to perform a
manual configure.

I am absolutely not an expert on Vista architecture, but know that it''s
unlikely that the old instructions I have for XP Pro will carry directly
across.

Cold somebody spell out for me what needs to be done, or point me
towards an article which might walk me though the process?

Many thanks.

推荐答案

Alan M Dunsmuir写道:
Alan M Dunsmuir wrote:

在Linux下使用Apache / MySQL / PHP一年左右之后我需要纯粹的
对于c onvenience,在Windows下建立一个并行平台。


不幸的是,自从我上次这样做(使用Windows XP专业版)后,我已经移动了

到Windows Vista(家庭高级版)。 MySQL和Apache2都安装了令人满意的

,但是我遇到了PHP5的问题。


我下载了PHP5 Windows安装程序(.msi文件)对于32位

Windows,它应该自动完成配置过程,但它报告无法链接到Apache2,并说我必须执行一个

手动配置。


我绝对不是Vista架构方面的专家,但知道它不太可能是旧的b $ b我对XP Pro的说明将直接带来




冷酷的人为我拼出需要做的事,或者指出我

对于一篇文章可能会告诉我这个过程吗?


非常感谢。
After having worked with Apache/MySQL/PHP for a year or so under Linux I
need, purely for convenience, to set up a parallel platform under Windows.

Unfortunately, since I last did this (using Windows XP Pro) I''ve moved
on to Windows Vista (Home Premium). MySQL and Apache2 have both
installed satisfactorily, but I''m having problems with PHP5.

I downloaded the PHP5 Windows installer (the .msi file) for 32-bit
Windows, which is supposed to automate the configuration process, but it
reported failure to link to Apache2, and said I would have to perform a
manual configure.

I am absolutely not an expert on Vista architecture, but know that it''s
unlikely that the old instructions I have for XP Pro will carry directly
across.

Cold somebody spell out for me what needs to be done, or point me
towards an article which might walk me though the process?

Many thanks.



尝试从头开始安装所有内容,确保在安装之前已经拥有

管理员权限。这应该是你需要跳跃的唯一障碍

。除此之外,XP安装过程也应该适用于Vista。


再见!

Try to install everything from scratch, making sure you''ve got
administrator rights before you install. That should be the only hurdle
you need to jump. Other than that the XP installation process should
apply also to Vista.

Bye!


*** Alan MDunsmuirescribió/写道(Sun,2008年5月11日10:34:15 +0100):
*** Alan M Dunsmuir escribió/wrote (Sun, 11 May 2008 10:34:15 +0100):

在使用Apache / MySQL / PHP之后Linux下一年左右的时间我只需为了方便起见,需要在Windows下建立并行平台。


不幸的是,自从我上次这样做(使用Windows XP专业版)我已将

移至Windows Vista(家庭高级版)。 MySQL和Apache2都安装了令人满意的

,但是我遇到了PHP5的问题。


我下载了PHP5 Windows安装程序(.msi文件)对于32位

Windows,它应该自动完成配置过程,但它报告无法链接到Apache2,并说我必须执行一个

手动配置。
After having worked with Apache/MySQL/PHP for a year or so under Linux I
need, purely for convenience, to set up a parallel platform under Windows.

Unfortunately, since I last did this (using Windows XP Pro) I''ve moved
on to Windows Vista (Home Premium). MySQL and Apache2 have both
installed satisfactorily, but I''m having problems with PHP5.

I downloaded the PHP5 Windows installer (the .msi file) for 32-bit
Windows, which is supposed to automate the configuration process, but it
reported failure to link to Apache2, and said I would have to perform a
manual configure.



我想你使用的是最近的安装程序(较旧的安装程序在Vista中损坏了

并且不会安装任何东西,甚至不会安装PHP )。编辑Apache的
httpd.conf文件(使用提升的文本编辑器)并附加这些行

就足够了:


#PHP 5

LoadModule php5_module" C:\Program Files \PHP \php5apache2_2.dll"

AddType application / x-httpd-php。 php


-

- http ://alvaro.es - álvaroG。Vicario - 西班牙布尔戈斯

- Mi sitiosobreprogramaciónweb: http://bits.demogracia.com

- Mi web de humor en cubitos: http://www.demogracia.com

-

I suppose you''re using a recent installer (older ones were broken in Vista
and would not install anything, not even PHP). Editing your Apache''s
httpd.conf file (with an elevated text editor) and appending these lines
should be enough:

# PHP 5
LoadModule php5_module "C:\Program Files\PHP\php5apache2_2.dll"
AddType application/x-httpd-php .php

--
-- http://alvaro.es - álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor en cubitos: http://www.demogracia.com
--


álvaroG。Vicario写道:
álvaro G. Vicario wrote:

*** Alan MDunsmuirescribió/写道(Sun,2008年5月11日10:34:15 +0100) :
*** Alan M Dunsmuir escribió/wrote (Sun, 11 May 2008 10:34:15 +0100):

> A.在Linux下使用Apache / MySQL / PHP一年左右的时间我只需要在Windows下建立一个并行平台。

不幸的是,自从我上次做了以后这个(使用Windows XP专业版)我已经移动到Windows Vista(家庭高级版)。 MySQL和Apache2都安装得很满意,但是我遇到了PHP5的问题。

我下载了32位的PHP5 Windows安装程序(.msi文件)
Windows,它应该自动化配置过程,但它报告无法链接到Apache2,并说我必须执行一个手动配置。
>After having worked with Apache/MySQL/PHP for a year or so under Linux I
need, purely for convenience, to set up a parallel platform under Windows.

Unfortunately, since I last did this (using Windows XP Pro) I''ve moved
on to Windows Vista (Home Premium). MySQL and Apache2 have both
installed satisfactorily, but I''m having problems with PHP5.

I downloaded the PHP5 Windows installer (the .msi file) for 32-bit
Windows, which is supposed to automate the configuration process, but it
reported failure to link to Apache2, and said I would have to perform a
manual configure.



我想你使用的是最近的安装程序(较旧的安装程序在Vista中损坏了

并且不会安装任何东西,甚至不会安装PHP )。编辑Apache的
httpd.conf文件(使用提升的文本编辑器)并附加这些行

就足够了:


#PHP 5

LoadModule php5_module" C:\Program Files \PHP \php5apache2_2.dll"

AddType application / x-httpd-php。 php


I suppose you''re using a recent installer (older ones were broken in Vista
and would not install anything, not even PHP). Editing your Apache''s
httpd.conf file (with an elevated text editor) and appending these lines
should be enough:

# PHP 5
LoadModule php5_module "C:\Program Files\PHP\php5apache2_2.dll"
AddType application/x-httpd-php .php



我担心这样做不行。 (但我在我的Apache2安装中使用的是php5apache2.dll,而不是php5apache2_2.dll,而不是php5apache2_2.dll。)


任何人出去Vista PHP5安装正常运行,

准备告诉我他们做了什么?

I''m afraid that didn''t work. (But I was using php5apache2.dll which was
in my Apache2 installation, rather than php5apache2_2.dll, which wasn''t.)

Anybody out there with a Vista PHP5 installation running properly,
prepared to tell me what they did?


这篇关于PHP5在Windows Vista中安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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