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

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

am 31.10.2007 03:59:31 von BDE Consulting

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

Re: Multiple Domains; 1 Server; 1 PHP Install; Only One Domain HasA Working PHP; WHY??????

am 31.10.2007 07:40:36 von Chris Gorospe

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?

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

am 31.10.2007 07:57:41 von Macca

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

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

am 31.10.2007 17:34:49 von BDE Consulting

On Oct 30, 11:40 pm, Chris Gorospe 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

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

am 31.10.2007 17:36:34 von BDE Consulting

On Oct 30, 11:57 pm, macca 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

Re: Multiple Domains; 1 Server; 1 PHP Install; Only One Domain HasA Working PHP; WHY??????

am 31.10.2007 18:04:00 von Jerry Stuckle

BDE Consulting wrote:
> On Oct 30, 11:57 pm, macca 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
==================

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

am 31.10.2007 18:54:30 von 4sak3n 0ne

On Oct 31, 10:04 am, Jerry Stuckle wrote:
> BDE Consulting wrote:
> > On Oct 30, 11:57 pm, macca 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.

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

am 31.10.2007 18:56:55 von Good Man

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.

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

am 31.10.2007 19:02:04 von luiheidsgoeroe

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

> On Oct 31, 10:04 am, Jerry Stuckle wrote:
>> BDE Consulting wrote:
>> > On Oct 30, 11:57 pm, macca 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

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

am 31.10.2007 19:02:11 von 4sak3n 0ne

On Oct 31, 10:56 am, Good Man 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.

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

am 31.10.2007 19:05:50 von BDE Consulting

On Oct 31, 10:54 am, 4sak3n 0ne <4sak3n...@gmail.com> wrote:
> On Oct 31, 10:04 am, Jerry Stuckle wrote:
>
>
>
>
>
> > BDE Consulting wrote:
> > > On Oct 30, 11:57 pm, macca 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.- Hide quoted text -
>
> - Show quoted text -

I don't have Apache I have MS Windows Server 2003. Yeah I know,
Windows with PHP and MySQL--why?? the only programmer I could afford
for LyricVault.com was a PHP/MySQL programmer and I'd already bought
the PowerEdge with Windows installed. Is there an equivilent setting
I should look at in a Windows environment?

Brent David Payne

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

am 31.10.2007 19:07:13 von BDE Consulting

On Oct 31, 10:56 am, Good Man 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.

Tell me more and does it apply in a windows environment as well? I am
running MS Server 2003 Standard Edition

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

am 31.10.2007 19:09:34 von BDE Consulting

On Oct 31, 11:02 am, "Rik Wasmus" wrote:
> On Wed, 31 Oct 2007 18:54:30 +0100, 4sak3n 0ne <4sak3n...@gmail.com> wrote:
> > On Oct 31, 10:04 am, Jerry Stuckle wrote:
> >> BDE Consulting wrote:
> >> > On Oct 30, 11:57 pm, macca 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- Hide quoted text -
>
> - Show quoted text -

Rik, you are awesome!! Never noticed that before. Now, what do I
change in IIS to enable PHP on the other domains? I feel like I am
about to have a solution after a year of beating my head against a
wall and asking in several forums (different username) about this
problem.

Brent David Payne

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

am 31.10.2007 19:19:38 von luiheidsgoeroe

On Wed, 31 Oct 2007 19:07:13 +0100, BDE Consulting
wrote:

> On Oct 31, 10:56 am, Good Man 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.
>
> Tell me more and does it apply in a windows environment as well? I am
> running MS Server 2003 Standard Edition

Just follow the direction from the manual:
http://nl2.php.net/manual/en/install.windows.iis.php

So, if you can use the Internet Information Services Manager, get the
properties of the different sites and follow the directions (when you're
not sure about a choice, you can even peek at your allready configured
domain what to do).
--
Rik Wasmus

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

am 31.10.2007 19:21:02 von luiheidsgoeroe

On Wed, 31 Oct 2007 19:19:38 +0100, Rik Wasmus
wrote:

> On Wed, 31 Oct 2007 19:07:13 +0100, BDE Consulting
> wrote:
>
>> On Oct 31, 10:56 am, Good Man 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.
>>
>> Tell me more and does it apply in a windows environment as well? I am
>> running MS Server 2003 Standard Edition
>
> Just follow the direction from the manual:
> http://nl2.php.net/manual/en/install.windows.iis.php
>
> So, if you can use the Internet Information Services Manager, get the
> properties of the different sites and follow the directions (when you're
> not sure about a choice, you can even peek at your allready configured
> domain what to do).

BTW: the PHP enabled site uses ISAPI, so I'd use that route for the other
domains too.
--
Rik Wasmus

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

am 31.10.2007 19:28:39 von BDE Consulting

On Oct 31, 11:19 am, "Rik Wasmus" wrote:
> On Wed, 31 Oct 2007 19:07:13 +0100, BDE Consulting
>
>
>
>
>
> wrote:
> > On Oct 31, 10:56 am, Good Man 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.
>
> > Tell me more and does it apply in a windows environment as well? I am
> > running MS Server 2003 Standard Edition
>
> Just follow the direction from the manual:http://nl2.php.net/manual/en/install.windows.iis.php
>
> So, if you can use the Internet Information Services Manager, get the
> properties of the different sites and follow the directions (when you're
> not sure about a choice, you can even peek at your allready configured
> domain what to do).
> --
> Rik Wasmus- Hide quoted text -
>
> - Show quoted text -

I have already done this (about a year ago) . . . isn't the below all
I need to do or did I miss something. In IIS6 isn't it just one
setting not something I have to do for each home directory/domain?

With IIS 6 (2003 Server), open up the IIS Manager, go to Web Service
Extensions, choose "Add a new Web service extension", enter in a name
such as PHP, choose the Add button and for the value browse to either
the ISAPI file (php4isapi.dll or php5isapi.dll) or CGI (php.exe or php-
cgi.exe) then check "Set extension status to Allowed" and click OK.

In order to use index.php as a default content page, do the following:
>From within the Documents tab, choose Add. Type in index.php and click
OK. Adjust the order by choosing Move Up or Move Down. This is similar
to setting DirectoryIndex with Apache.

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

am 31.10.2007 19:34:48 von BDE Consulting

On Oct 31, 11:21 am, "Rik Wasmus" wrote:
> On Wed, 31 Oct 2007 19:19:38 +0100, Rik Wasmus
>
>
>
>
>
> wrote:
> > On Wed, 31 Oct 2007 19:07:13 +0100, BDE Consulting
> > wrote:
>
> >> On Oct 31, 10:56 am, Good Man 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.
>
> >> Tell me more and does it apply in a windows environment as well? I am
> >> running MS Server 2003 Standard Edition
>
> > Just follow the direction from the manual:
> >http://nl2.php.net/manual/en/install.windows.iis.php
>
> > So, if you can use the Internet Information Services Manager, get the
> > properties of the different sites and follow the directions (when you're
> > not sure about a choice, you can even peek at your allready configured
> > domain what to do).
>
> BTW: the PHP enabled site uses ISAPI, so I'd use that route for the other
> domains too.
> --
> Rik Wasmus- Hide quoted text -
>
> - Show quoted text -

I did the following a year or so ago. Is there something I have to do
for each site, home directory, etc.?

With IIS 6 (2003 Server), open up the IIS Manager, go to Web Service
Extensions, choose "Add a new Web service extension", enter in a name
such as PHP, choose the Add button and for the value browse to either
the ISAPI file (php4isapi.dll or php5isapi.dll) or CGI (php.exe or php-
cgi.exe) then check "Set extension status to Allowed" and click OK.

In order to use index.php as a default content page, do the following:
>From within the Documents tab, choose Add. Type in index.php and click
OK. Adjust the order by choosing Move Up or Move Down. This is similar
to setting DirectoryIndex with Apache.

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

am 31.10.2007 19:44:32 von luiheidsgoeroe

On Wed, 31 Oct 2007 19:28:39 +0100, BDE Consulting
wrote:
>> > Tell me more and does it apply in a windows environment as well? I am
>> > running MS Server 2003 Standard Edition
>>
>> Just follow the direction from the
>> manual:http://nl2.php.net/manual/en/install.windows.iis.php
>>
>> So, if you can use the Internet Information Services Manager, get the
>> properties of the different sites and follow the directions (when you're
>> not sure about a choice, you can even peek at your allready configured
>> domain what to do).
>
> I have already done this (about a year ago) . . . isn't the below all
> I need to do or did I miss something. In IIS6 isn't it just one
> setting not something I have to do for each home directory/domain?

AFAIK (my IIS experience is very limited): for every single home
directory/domain, you can add this in the configuration. Also a possibilty
was get the properties of 'Web Sites', and add the ISAPI module there if
it isn't allready (properties->ISAPI filters->add). These values for 'Web
Sites' can be overridden, so if that still doesn't work, check the
configuration the same wat of all your home directories.

> In order to use index.php as a default content page, do the following:
>> From within the Documents tab, choose Add. Type in index.php and click
> OK. Adjust the order by choosing Move Up or Move Down. This is similar
> to setting DirectoryIndex with Apache.

This too can be set 'globally' for 'Web Sites', or per
home-directory/domain.
--
Rik Wasmus

Re: Multiple Domains; 1 Server; 1 PHP Install; Only One Domain HasA Working PHP; WHY??????

am 31.10.2007 19:51:37 von Jerry Stuckle

BDE Consulting wrote:
> On Oct 31, 10:54 am, 4sak3n 0ne <4sak3n...@gmail.com> wrote:
>> On Oct 31, 10:04 am, Jerry Stuckle wrote:
>>
>>
>>
>>
>>
>>> BDE Consulting wrote:
>>>> On Oct 30, 11:57 pm, macca 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.- Hide quoted text -
>>
>> - Show quoted text -
>
> I don't have Apache I have MS Windows Server 2003. Yeah I know,
> Windows with PHP and MySQL--why?? the only programmer I could afford
> for LyricVault.com was a PHP/MySQL programmer and I'd already bought
> the PowerEdge with Windows installed. Is there an equivilent setting
> I should look at in a Windows environment?
>
> Brent David Payne
>
>

You need to look into the properties for your website. Each site will
have a different properties folder.

But I still don't understand why you don't use Apache. It's free.

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

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

am 31.10.2007 22:01:55 von BDE Consulting

On Oct 31, 11:51 am, Jerry Stuckle wrote:
> BDE Consulting wrote:
> > On Oct 31, 10:54 am, 4sak3n 0ne <4sak3n...@gmail.com> wrote:
> >> On Oct 31, 10:04 am, Jerry Stuckle wrote:
>
> >>> BDE Consulting wrote:
> >>>> On Oct 30, 11:57 pm, macca 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.- Hide quoted text -
>
> >> - Show quoted text -
>
> > I don't have Apache I have MS Windows Server 2003. Yeah I know,
> > Windows with PHP and MySQL--why?? the only programmer I could afford
> > for LyricVault.com was a PHP/MySQL programmer and I'd already bought
> > the PowerEdge with Windows installed. Is there an equivilent setting
> > I should look at in a Windows environment?
>
> > Brent David Payne
>
> You need to look into the properties for your website. Each site will
> have a different properties folder.
>
> But I still don't understand why you don't use Apache. It's free.
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================- Hide quoted text -
>
> - Show quoted text -

I will drive over to my colocation tonight (having Remote Server
management issues too, but we won't get into that right now) and see
what I can find. I will post here additional questions or a million
thank you notes if this thread solved my problem.

P.S. I don't use Apache because, well, I have been a 'big company'
loyalist for a long time. I know that is not real popular in this
forum probably but I like. Microsoft, Sony, Honda, Coca-Cola,
Amazon.com, Google, etc. ;-)

Brent David Payne

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

am 01.11.2007 01:37:10 von BDE Consulting

On Oct 31, 2:01 pm, BDE Consulting
wrote:
> On Oct 31, 11:51 am, Jerry Stuckle wrote:
>
>
>
>
>
> > BDE Consulting wrote:
> > > On Oct 31, 10:54 am, 4sak3n 0ne <4sak3n...@gmail.com> wrote:
> > >> On Oct 31, 10:04 am, Jerry Stuckle wrote:
>
> > >>> BDE Consulting wrote:
> > >>>> On Oct 30, 11:57 pm, macca 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.- Hide quoted text -
>
> > >> - Show quoted text -
>
> > > I don't have Apache I have MS Windows Server 2003. Yeah I know,
> > > Windows with PHP and MySQL--why?? the only programmer I could afford
> > > for LyricVault.com was a PHP/MySQL programmer and I'd already bought
> > > the PowerEdge with Windows installed. Is there an equivilent setting
> > > I should look at in a Windows environment?
>
> > > Brent David Payne
>
> > You need to look into the properties for your website. Each site will
> > have a different properties folder.
>
> > But I still don't understand why you don't use Apache. It's free.
>
> > --
> > ==================
> > Remove the "x" from my email address
> > Jerry Stuckle
> > JDS Computer Training Corp.
> > jstuck...@attglobal.net
> > ==================- Hide quoted text -
>
> > - Show quoted text -
>
> I will drive over to my colocation tonight (having Remote Server
> management issues too, but we won't get into that right now) and see
> what I can find. I will post here additional questions or a million
> thank you notes if this thread solved my problem.
>
> P.S. I don't use Apache because, well, I have been a 'big company'
> loyalist for a long time. I know that is not real popular in this
> forum probably but I like. Microsoft, Sony, Honda, Coca-Cola,
> Amazon.com, Google, etc. ;-)
>
> Brent David Payne- Hide quoted text -
>
> - Show quoted text -

Yes!!! Figured it out. While it wasn't the answer you guys
mentioned, your suggestions made me dig a little bit deeper (and take
more risk on changing things). It turns out that the ASAPI mapping
for PHP was correct on the LyricVault domain but it was pointing to
the wrong DLL on the other domains. I had to go into each web site,
go to home directory tab, go to configuration tab, scroll down to the
php extension, edit it with the new location of the correct DLL for
PHP.

I now have a very sore back (these carts at colocation places are a
bearcat to work with) because I had to change about 40 web sites to
the correct DLL for PHP, but it is fixed.

Thanks to everyone that helped me go down the right track with
confidence. If you click on the original post you will see that all
of the PHPInfo.php files are loading properly.

Thanks everyone!!!

Sincerely,

Brent David Payne
Happy PHP User

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

am 01.11.2007 08:11:26 von 4sak3n 0ne

On Oct 31, 10:54 am, 4sak3n 0ne <4sak3n...@gmail.com> wrote:
> On Oct 31, 10:04 am, Jerry Stuckle wrote:
>
>
>
> > BDE Consulting wrote:
> > > On Oct 30, 11:57 pm, macca 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.

I feel dumb... Should have looked at the phpinfo before posting
that. Disregard that idea. It could have been a solution if you were
running Apache instead of IIS.