phpinfo()函数 [英] phpinfo()
问题描述
嗨
我在Windows XP上运行Php5.0。当我运行phpinfo脚本时,它告诉
我配置文件php.ini位于C:\ Windows中。这个
看起来很奇怪,因为我已将PATH作为D:\ _ \\ _pp放在php中,其中有php.ini
文件。
有没有人知道我怎么能修复它以便php.ini文件出现为
在D:\ php文件夹中而不是C:\ Windows?
我问这个问题因为我想让php5和Mysql工作
但是他们不是。
问候
多米尼克
Hi
I am running Php5.0 on Windows XP. When I run phpinfo script it tells
me that the configuration file php.ini is located in C:\Windows. This
seems odd as I have put the PATH to php as D:\php where the php.ini
file is located.
Does anyone know how I can fix it so that the php.ini file comes up as
being in the D:\php folder not C:\Windows?
I am asking this question as I would like to get php5 and Mysql working
but they are not.
regards
Dominic
推荐答案
< lo ****** ******@hotmail.com>在消息中写道
news:11 ********************** @ f14g2000cwb.googlegr oups.com ...
<lo************@hotmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
嗨
我在Windows XP上运行Php5.0。当我运行phpinfo脚本时,它告诉我,配置文件php.ini位于C:\ Windows中。这个
看起来很奇怪,因为我已经将PATH作为D:\ _ pp放在php.ini
文件所在的位置。
有谁知道如何修复它所以php.ini文件出现在D:\ _ sp文件夹中而不是C:\ Windows?
我问这个问题因为我想得到php5和Mysql一起工作
但他们不是。
问候
Dominic
Hi
I am running Php5.0 on Windows XP. When I run phpinfo script it tells
me that the configuration file php.ini is located in C:\Windows. This
seems odd as I have put the PATH to php as D:\php where the php.ini
file is located.
Does anyone know how I can fix it so that the php.ini file comes up as
being in the D:\php folder not C:\Windows?
I am asking this question as I would like to get php5 and Mysql working
but they are not.
regards
Dominic
php.ini需要在你的windows目录。
php.ini needs to be in your windows directory.
Spidah在28/06/2005 01:24上说了以下内容:
Spidah said the following on 28/06/2005 01:24:
< lo ******* *****@hotmail.com>在消息中写道
新闻:11 ********************** @ f14g2000cwb.googlegr oups.com ...
<lo************@hotmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
嗨
我在Windows XP上运行Php5.0。当我运行phpinfo脚本时,它告诉我,配置文件php.ini位于C:\ Windows中。这个
看起来很奇怪,因为我已经将PATH作为D:\ _ pp放在php.ini
文件所在的位置。
有谁知道如何修复它所以php.ini文件出现在D:\ _ sp文件夹中而不是C:\ Windows?
我问这个问题因为我想得到php5和Mysql一起工作
但它们不是。
Hi
I am running Php5.0 on Windows XP. When I run phpinfo script it tells
me that the configuration file php.ini is located in C:\Windows. This
seems odd as I have put the PATH to php as D:\php where the php.ini
file is located.
Does anyone know how I can fix it so that the php.ini file comes up as
being in the D:\php folder not C:\Windows?
I am asking this question as I would like to get php5 and Mysql working
but they are not.
php.ini需要在你的windows目录中。
php.ini needs to be in your windows directory.
不,它不是。
阅读手册:
http://www.php.net/manual/install.wi...apache2.module
-
Oli
No it doesn''t.
Read the manual:
http://www.php.net/manual/install.wi...apache2.module
--
Oli
>有谁知道我怎么解决它,以便php.ini文件出现在
> Does anyone know how I can fix it so that the php.ini file comes up as
在D:\ _ sp文件夹中而不是C:\ Windows?
being in the D:\php folder not C:\Windows?
你在运行模块还是cgi?
你在运行什么服务器(apache / IIS)?
-laidbak
Are you running the module or cgi?
What Server are you running (apache/IIS)?
-laidbak
这篇关于phpinfo()函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!