多个域; 1台服务器; 1 PHP安装;只有一个域有一个可用的PHP;为什么?????? [英] Multiple Domains; 1 Server; 1 PHP Install; Only One Domain Has A Working PHP; WHY??????

查看:53
本文介绍了多个域; 1台服务器; 1 PHP安装;只有一个域有一个可用的PHP;为什么??????的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我疯了。这已经是一个问题,现在已经有一年多的时间了,我还没有弄明白是什么造成了它。


我有一台正在运行的服务器多个域名。对于这个

示例,我将列出四个域,所有这些域的根目录中都有phpinfo.php

文件。但是,只有其中一个工作了

PHP。我做错了什么?

http:// www。 lyricvault.com/phpinfo.php
http:// www .paynephotos.com / phpinfo.php
http:// www.brentdavidpayne.com/phpinfo.php
http:/ /www.brentdavidenterprises.com/phpinfo.php

http: //www.lyricvault.com
http://www.paynephotos.com
http://www.brentdavidpayne.com http://www.brent davidenterprises.com


如果你检查每个站点的根目录,你会发现每个站点都是功能性的(paynephotos几乎没有功能)但它至少作为

单行代码)。


请有人帮助我。


注意:我不是程序员,但我正在努力。 ;-)


谢谢,


Brent David Payne

沮丧的PHP用户

解决方案

BDE Con​​sulting写道:


我疯了。这已经是一个问题,现在已经有一年多的时间了,我还没有弄明白是什么造成了它。


我有一台正在运行的服务器多个域名。对于这个

示例,我将列出四个域,所有这些域的根目录中都有phpinfo.php

文件。但是,只有其中一个工作了

PHP。我做错了什么?

http:// www。 lyricvault.com/phpinfo.php
http:// www .paynephotos.com / phpinfo.php
http:// www.brentdavidpayne.com/phpinfo.php
http:/ /www.brentdavidenterprises.com/phpinfo.php

http: //www.lyricvault.com
http://www.paynephotos.com
http://www.brentdavidpayne.com http://www.brentda videnterprises.com


如果你检查每个站点的根目录,你会发现每个站点都是功能性的(paynephotos几乎没有功能)但它至少作为

单行代码)。


请有人帮助我。


注意:我不是程序员,但我正在努力。 ;-)


谢谢,


Brent David Payne

沮丧的PHP用户


根据whois搜索,工作域的名称服务器与其余的名称不同。
。这意味着它很可能是在不同的

帐户上设置的,但同样的服务器。因此,可以设置此帐户

以允许PHP,而其他人则不允许。


此服务器/主机是否使用任何类型的Web控制面板?


检查你的服务器日志...可能会给你一些见解


10月30日, 11:40 pm,Chris Gorospe< ch ... @ ekast.comwrote:


BDE Con​​sulting写道:


我疯了。这已经是一个问题,现在已经有一年多的时间了,而且我还没有找出导致它的原因。


我有一台运行多个域的服务器。对于这个

示例,我将列出四个域,所有这些域的根目录中都有phpinfo.php

文件。但是,只有其中一个工作了

PHP。我究竟做错了什么?

http:// www.lyricvault.com/phpinfo.php
http:/ /www.paynephotos.com/phpinfo.php
http: //www.brentdavidpayne.com/phpinfo.php
http ://www.brentdavidenterprises.com/phpinfo.php

http://www.lyricvault.com
http:/ /www.paynephotos.com
http://www.brentdavidpayne.com
http://www.brentdavidenterprises.com


如果你检查每个站点的根目录,你将会看到他们每个人都有功能(paynephotos几乎没有功能,但它至少是单行代码的

)。


请有人帮助我。


注意:我不是程序员,但我正在努力。 ;-)


谢谢,


Brent David Payne

沮丧的PHP用户



根据whois搜索,工作域的名称服务器与其他人不同

。这意味着它很可能是在不同的

帐户上设置的,但同样的服务器。因此,可以设置此帐户

以允许PHP,而其他人则不允许。


此服务器/主机是否使用任何类型的Web控制面板? - 隐藏引用的文字 -


- 显示引用的文字 -



我拥有服务器。它位于华盛顿州自由湖(LLIX)的同一地点。

我对MS Server 2003了解不多,但我设法做得最多

自己的服务器维护(称为朋友帮助我

初始设置)。 Netsol是我的DNS,我发誓所有域名

在NetSol的设置中使用完全相同的IP地址。然后我使用IIS

指向每个 www.blahblahblah.com 和blahblahblah.com到该特定网站的特定文件夹
。每个网站的文件夹都是

,位于根目录之上,并且位于安装PHP的目录上面。


我用的是用于MySQL交互的PHPMyAdmin但除了Windows Server 2003本身之外没有其他网页

控制面板。


帮助! ;-)


布伦特大卫佩恩


I am going crazy. This has been a problem now for over a year and I
have yet to figure out what is causing it.

I have a single server that is running multiple domains. For this
example I will list four domains all of which have the phpinfo.php
file in their root directories. However, only one of them has working
PHP. What am I doing wrong?

http://www.lyricvault.com/phpinfo.php
http://www.paynephotos.com/phpinfo.php
http://www.brentdavidpayne.com/phpinfo.php
http://www.brentdavidenterprises.com/phpinfo.php

http://www.lyricvault.com
http://www.paynephotos.com
http://www.brentdavidpayne.com
http://www.brentdavidenterprises.com

If you check the root of each site, you will see that each of them are
functional (paynephotos is barely functional but it at least as the
single line of code).

Please someone help me.

Note: I am not a programmer but I am trying. ;-)

Thanks,

Brent David Payne
Frustrated PHP User

解决方案

BDE Consulting wrote:

I am going crazy. This has been a problem now for over a year and I
have yet to figure out what is causing it.

I have a single server that is running multiple domains. For this
example I will list four domains all of which have the phpinfo.php
file in their root directories. However, only one of them has working
PHP. What am I doing wrong?

http://www.lyricvault.com/phpinfo.php
http://www.paynephotos.com/phpinfo.php
http://www.brentdavidpayne.com/phpinfo.php
http://www.brentdavidenterprises.com/phpinfo.php

http://www.lyricvault.com
http://www.paynephotos.com
http://www.brentdavidpayne.com
http://www.brentdavidenterprises.com

If you check the root of each site, you will see that each of them are
functional (paynephotos is barely functional but it at least as the
single line of code).

Please someone help me.

Note: I am not a programmer but I am trying. ;-)

Thanks,

Brent David Payne
Frustrated PHP User

According to a whois search, the working domain''s nameservers differ
from the rest. Meaning it''s most likely it''s setup on a different
account, yet same server. Hence it possible that this account is setup
to allow PHP while the others are not.

Does this server/host use any type of web control panel?


check your server logs...might give you some insight


On Oct 30, 11:40 pm, Chris Gorospe <ch...@ekast.comwrote:

BDE Consulting wrote:

I am going crazy. This has been a problem now for over a year and I
have yet to figure out what is causing it.

I have a single server that is running multiple domains. For this
example I will list four domains all of which have the phpinfo.php
file in their root directories. However, only one of them has working
PHP. What am I doing wrong?

http://www.lyricvault.com/phpinfo.php
http://www.paynephotos.com/phpinfo.php
http://www.brentdavidpayne.com/phpinfo.php
http://www.brentdavidenterprises.com/phpinfo.php

http://www.lyricvault.com
http://www.paynephotos.com
http://www.brentdavidpayne.com
http://www.brentdavidenterprises.com

If you check the root of each site, you will see that each of them are
functional (paynephotos is barely functional but it at least as the
single line of code).

Please someone help me.

Note: I am not a programmer but I am trying. ;-)

Thanks,

Brent David Payne
Frustrated PHP User


According to a whois search, the working domain''s nameservers differ
from the rest. Meaning it''s most likely it''s setup on a different
account, yet same server. Hence it possible that this account is setup
to allow PHP while the others are not.

Does this server/host use any type of web control panel?- Hide quoted text -

- Show quoted text -

I own the server. It is at a co-location in Liberty Lake, WA (LLIX).
I don''t know much about MS Server 2003 but I have managed to do most
of the server maintenance myself (called a friend to help me with the
initial settings). Netsol is my DNS and I swear all of the domains
use the exact same IP addresses in NetSol''s settings. I then use IIS
to point each www.blahblahblah.com and blahblahblah.com to a
particular folder for that specific site. Every site''s folder is
above the root directory and above the directory where PHP is
installed.

I use PHPMyAdmin for MySQL interactions but there is no other web
control panel other than Windows Server 2003 itself.

Help! ;-)

Brent David Payne


这篇关于多个域; 1台服务器; 1 PHP安装;只有一个域有一个可用的PHP;为什么??????的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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