Multiple Domains; 1 Server; 1 PHP Install; Only One Domain Has A Working PHP; WHY??????

This is a discussion on Multiple Domains; 1 Server; 1 PHP Install; Only One Domain Has A Working PHP; WHY?????? within the PHP Language forums, part of the PHP Programming Forums category; I am going crazy. This has been a problem now for over a year and I have yet to figure ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-31-2007
BDE Consulting
 
Posts: n/a
Default Multiple Domains; 1 Server; 1 PHP Install; Only One Domain Has A Working PHP; WHY??????

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

Reply With Quote
  #2 (permalink)  
Old 10-31-2007
Chris Gorospe
 
Posts: n/a
Default Re: Multiple Domains; 1 Server; 1 PHP Install; Only One Domain HasA Working PHP; WHY??????

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?
Reply With Quote
  #3 (permalink)  
Old 10-31-2007
macca
 
Posts: n/a
Default Re: Multiple Domains; 1 Server; 1 PHP Install; Only One Domain Has A Working PHP; WHY??????

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

Reply With Quote
  #4 (permalink)  
Old 10-31-2007
BDE Consulting
 
Posts: n/a
Default Re: Multiple Domains; 1 Server; 1 PHP Install; Only One Domain Has A Working PHP; WHY??????

On Oct 30, 11:40 pm, Chris Gorospe <ch...@ekast.com> wrote:
> 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

Reply With Quote
  #5 (permalink)  
Old 10-31-2007
BDE Consulting
 
Posts: n/a
Default Re: Multiple Domains; 1 Server; 1 PHP Install; Only One Domain Has A Working PHP; WHY??????

On Oct 30, 11:57 pm, macca <ptmcna...@googlemail.com> wrote:
> check your server logs...might give you some insight


What would I be looking for exactly? I have little experience in
dbadmin and server admin. I know how to get to my server logs and how
to decipher them but help me to determine what I am specifically
looking for please.

Brent David Payne

Reply With Quote
  #6 (permalink)  
Old 10-31-2007
Jerry Stuckle
 
Posts: n/a
Default Re: Multiple Domains; 1 Server; 1 PHP Install; Only One Domain HasA Working PHP; WHY??????

BDE Consulting wrote:
> On Oct 30, 11:57 pm, macca <ptmcna...@googlemail.com> wrote:
>> check your server logs...might give you some insight

>
> What would I be looking for exactly? I have little experience in
> dbadmin and server admin. I know how to get to my server logs and how
> to decipher them but help me to determine what I am specifically
> looking for please.
>
> Brent David Payne
>
>


Maybe anything which looks unusual? Error responses, etc.?

It's hard to say exactly what to look for - the possibilities are almost
endless. But you should know it when you see it.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Reply With Quote
  #7 (permalink)  
Old 10-31-2007
4sak3n 0ne
 
Posts: n/a
Default Re: Multiple Domains; 1 Server; 1 PHP Install; Only One Domain Has A Working PHP; WHY??????

On Oct 31, 10:04 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> BDE Consulting wrote:
> > On Oct 30, 11:57 pm, macca <ptmcna...@googlemail.com> wrote:
> >> check your server logs...might give you some insight

>
> > What would I be looking for exactly? I have little experience in
> > dbadmin and server admin. I know how to get to my server logs and how
> > to decipher them but help me to determine what I am specifically
> > looking for please.

>
> > Brent David Payne

>
> Maybe anything which looks unusual? Error responses, etc.?
>
> It's hard to say exactly what to look for - the possibilities are almost
> endless. But you should know it when you see it.
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================


One possibility is that your AddType for php is within a virtual hosts
(assuming you have Apache). Check to make sure that AddType
application/x-httpd-php .php is outside of all virtual hosts.

Thats all I could think of at the moment.

Reply With Quote
  #8 (permalink)  
Old 10-31-2007
Good Man
 
Posts: n/a
Default Re: Multiple Domains; 1 Server; 1 PHP Install; Only One Domain Has A Working PHP; WHY??????

4sak3n 0ne <4sak3n0ne@gmail.com> wrote in news:1193853270.595836.40440
@z24g2000prh.googlegroups.com:

> One possibility is that your AddType for php is within a virtual hosts
> (assuming you have Apache). Check to make sure that AddType
> application/x-httpd-php .php is outside of all virtual hosts.
>
> Thats all I could think of at the moment.


that's my hunch too.

i'd put money down on this being a "httpd.conf" issue.


Reply With Quote
  #9 (permalink)  
Old 10-31-2007
Rik Wasmus
 
Posts: n/a
Default Re: Multiple Domains; 1 Server; 1 PHP Install; Only One Domain Has A Working PHP; WHY??????

On Wed, 31 Oct 2007 18:54:30 +0100, 4sak3n 0ne <4sak3n0ne@gmail.com> wrote:

> On Oct 31, 10:04 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>> BDE Consulting wrote:
>> > On Oct 30, 11:57 pm, macca <ptmcna...@googlemail.com> wrote:
>> >> check your server logs...might give you some insight

>>
>> > What would I be looking for exactly? I have little experience in
>> > dbadmin and server admin. I know how to get to my server logs and how
>> > to decipher them but help me to determine what I am specifically
>> > looking for please.

>>
>> > Brent David Payne

>>
>> Maybe anything which looks unusual? Error responses, etc.?
>>
>> It's hard to say exactly what to look for - the possibilities are almost
>> endless. But you should know it when you see it.

>
> One possibility is that your AddType for php is within a virtual hosts
> (assuming you have Apache). Check to make sure that AddType
> application/x-httpd-php .php is outside of all virtual hosts.



Server sais:

http://www.paynephotos.com/
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET

http://www.lyricvault.com/
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET, PHP/5.2.0

If we trust these headers, it's IIS and PHP is not enabled on the other
sites.
--
Rik Wasmus
Reply With Quote
  #10 (permalink)  
Old 10-31-2007
4sak3n 0ne
 
Posts: n/a
Default Re: Multiple Domains; 1 Server; 1 PHP Install; Only One Domain Has A Working PHP; WHY??????

On Oct 31, 10:56 am, Good Man <he...@letsgo.com> wrote:
> 4sak3n 0ne <4sak3n...@gmail.com> wrote in news:1193853270.595836.40440
> @z24g2000prh.googlegroups.com:
>
> > One possibility is that your AddType for php is within a virtual hosts
> > (assuming you have Apache). Check to make sure that AddType
> > application/x-httpd-php .php is outside of all virtual hosts.

>
> > Thats all I could think of at the moment.

>
> that's my hunch too.
>
> i'd put money down on this being a "httpd.conf" issue.


Before posting I should have looked at the phpinfo a little more
carefully... IIS is being used in lieu of Apache (Which is
understandable), so that couldn't be the issue per-se.

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:26 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0