473,765 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Oct 31 '07
18 2362
On Oct 31, 10:54 am, 4sak3n 0ne <4sak3n...@gmai l.comwrote:
On Oct 31, 10:04 am, Jerry Stuckle <jstuck...@attg lobal.netwrote:


BDE Consulting wrote:
On Oct 30, 11:57 pm, macca <ptmcna...@goog lemail.comwrote :
>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...@attgl obal.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

Oct 31 '07 #11
On Oct 31, 10:56 am, Good Man <he...@letsgo.c omwrote:
4sak3n 0ne <4sak3n...@gmai l.comwrote in news:1193853270 .595836.40440
@z24g2000prh.go oglegroups.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

Oct 31 '07 #12
On Oct 31, 11:02 am, "Rik Wasmus" <luiheidsgoe... @hotmail.comwro te:
On Wed, 31 Oct 2007 18:54:30 +0100, 4sak3n 0ne <4sak3n...@gmai l.comwrote:
On Oct 31, 10:04 am, Jerry Stuckle <jstuck...@attg lobal.netwrote:
BDE Consulting wrote:
On Oct 30, 11:57 pm, macca <ptmcna...@goog lemail.comwrote :
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

Oct 31 '07 #13
On Wed, 31 Oct 2007 19:07:13 +0100, BDE Consulting
<br*********@bd econsulting.com wrote:
On Oct 31, 10:56 am, Good Man <he...@letsgo.c omwrote:
>4sak3n 0ne <4sak3n...@gmai l.comwrote in news:1193853270 .595836.40440
@z24g2000prh.g ooglegroups.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
Oct 31 '07 #14
On Wed, 31 Oct 2007 19:19:38 +0100, Rik Wasmus
<lu************ @hotmail.comwro te:
On Wed, 31 Oct 2007 19:07:13 +0100, BDE Consulting
<br*********@bd econsulting.com wrote:
>On Oct 31, 10:56 am, Good Man <he...@letsgo.c omwrote:
>>4sak3n 0ne <4sak3n...@gmai l.comwrote in news:1193853270 .595836.40440
@z24g2000prh. googlegroups.co m:

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
Oct 31 '07 #15
BDE Consulting wrote:
On Oct 31, 10:54 am, 4sak3n 0ne <4sak3n...@gmai l.comwrote:
>On Oct 31, 10:04 am, Jerry Stuckle <jstuck...@attg lobal.netwrote:


>>BDE Consulting wrote:
On Oct 30, 11:57 pm, macca <ptmcna...@goog lemail.comwrote :
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...@att global.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.
js*******@attgl obal.net
=============== ===

Oct 31 '07 #16
On Oct 31, 11:51 am, Jerry Stuckle <jstuck...@attg lobal.netwrote:
BDE Consulting wrote:
On Oct 31, 10:54 am, 4sak3n 0ne <4sak3n...@gmai l.comwrote:
On Oct 31, 10:04 am, Jerry Stuckle <jstuck...@attg lobal.netwrote:
>BDE Consulting wrote:
On Oct 30, 11:57 pm, macca <ptmcna...@goog lemail.comwrote :
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...@attg lobal.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...@attgl obal.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

Oct 31 '07 #17
On Oct 31, 2:01 pm, BDE Consulting <brent.pa...@bd econsulting.com >
wrote:
On Oct 31, 11:51 am, Jerry Stuckle <jstuck...@attg lobal.netwrote:


BDE Consulting wrote:
On Oct 31, 10:54 am, 4sak3n 0ne <4sak3n...@gmai l.comwrote:
>On Oct 31, 10:04 am, Jerry Stuckle <jstuck...@attg lobal.netwrote:
>>BDE Consulting wrote:
>>>On Oct 30, 11:57 pm, macca <ptmcna...@goog lemail.comwrote :
>>>>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...@att global.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...@attgl obal.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

Nov 1 '07 #18
On Oct 31, 10:54 am, 4sak3n 0ne <4sak3n...@gmai l.comwrote:
On Oct 31, 10:04 am, Jerry Stuckle <jstuck...@attg lobal.netwrote:
BDE Consulting wrote:
On Oct 30, 11:57 pm, macca <ptmcna...@goog lemail.comwrote :
>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...@attgl obal.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.

Nov 1 '07 #19

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
3639
by: Jean-Marc Molina | last post by:
Hello, OS : Windows 2000 Pro Apache : 1.3.29 PHP : 4.3.6 From the install.txt file : quote: "Usually you would just copy it over to %SYSTEMROOT%\System32.
1
4472
by: d.schulz81 | last post by:
Hi all, We have about 10 different domains that are linked very closely and we want to identify and keep track of every single user that surfs our websites by the use of sessions. The problem is how to keep track of the session ID across domains. - cookies don't work because not acepted by 40 % of or users and cookies don't work across domains
0
2119
by: Fred Palmer | last post by:
Hi all, Can anyone point out some best practices for handling cookies with multiple domains aliases? The problem is that I've got a site with multiple domain aliases and I want them to all use the same cookie. This problem can arise with even one domain if you don't set the domain on the cookie correctly. For example: Don't set the domain to ".mydomain.com" (leave out the first ".". If user's come in from "mydomain.com" or if they...
6
4868
by: Ludvig | last post by:
I have various domains using the same application/assembly They differ in contents and design, based on a "site id", and get its information from an SQL server. Now I have to deploy the different "sites" to individual folders on the server, and set up the domains on IIS to point to these folders. If I do changes in the application, I have to deploy to all the different folders on the server.
0
1405
by: i_have_control | last post by:
I'd be grateful for any input on this one: I have three web domains. The destinations of two are set to folders on the first, though that fact is transparent to the user (i.e: it does not REDIRECT to the first domain). Example: http://www.maindomain.com (main hosted package) http://www.subdomain1.com -> www.maindomain.com/subdomain1/ http://www.subdomain2.com -> www.maindomain.com/subdomain2/
6
1248
by: nc | last post by:
If www.any1.com has a lib\file1.php, can someone at www.any2.com include the script and access the items in the script? Is it safely protected, or would we need to handle such protections ourselves? I.e., <?php include("http://www.any1.com/lib/file1.php"); // misc code which checks the defined variables... echo(pw);
22
8940
by: Brett Romero | last post by:
If my UI app uses three DLLs and two of those DLLs reference something named utilities.dll, does the UI app load utilities.dll twice or does the compiler recognize what is going on and load utilities.dll just once? Thanks, Brett
1
12983
by: Jacksm | last post by:
My web server is joined to a windows domain. This domain has trusts to many other different domains. Users access my web server from different domains which are the trusted domains. Is this possible to do without any other configuration? Will the web server know which domain to look for to authenticate? Any information on how to do this would be appreciated. Thank you.
13
8673
by: Samir Chouaieb | last post by:
Hello, I am trying to find a solution to a login mechanism for different domains on different servers with PHP5. I have one main domain with the user data and several other domains that need a login to show data. I want the user to login only once when he visits any of my domains.
0
9568
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9399
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10163
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10007
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9835
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7379
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5276
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.