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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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? |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 ================== |
|
|||
|
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. |
|
|||
|
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. |
|
|||
|
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 |
|
|||
|
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. |