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; On Oct 31, 10:54 am, 4sak3n 0ne <4sak3n...@gmail.com> wrote: > On Oct 31, 10:04 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Oct 31, 10:54 am, 4sak3n 0ne <4sak3n...@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. > > > -- > > ================== > > 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 |
|
|||
|
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. Tell me more and does it apply in a windows environment as well? I am running MS Server 2003 Standard Edition |
|
|||
|
On Oct 31, 11:02 am, "Rik Wasmus" <luiheidsgoe...@hotmail.com> wrote:
> On Wed, 31 Oct 2007 18:54:30 +0100, 4sak3n 0ne <4sak3n...@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- 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 |
|
|||
|
On Wed, 31 Oct 2007 19:07:13 +0100, BDE Consulting
<brent.payne@bdeconsulting.com> wrote: > 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. > > 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 |
|
|||
|
On Wed, 31 Oct 2007 19:19:38 +0100, Rik Wasmus
<luiheidsgoeroe@hotmail.com> wrote: > On Wed, 31 Oct 2007 19:07:13 +0100, BDE Consulting > <brent.payne@bdeconsulting.com> wrote: > >> 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. >> >> 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 |
|
|||
|
On Oct 31, 11:19 am, "Rik Wasmus" <luiheidsgoe...@hotmail.com> wrote:
> On Wed, 31 Oct 2007 19:07:13 +0100, BDE Consulting > > > > > > <brent.pa...@bdeconsulting.com> wrote: > > 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. > > > 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. |
|
|||
|
On Oct 31, 11:21 am, "Rik Wasmus" <luiheidsgoe...@hotmail.com> wrote:
> On Wed, 31 Oct 2007 19:19:38 +0100, Rik Wasmus > > > > > > <luiheidsgoe...@hotmail.com> wrote: > > On Wed, 31 Oct 2007 19:07:13 +0100, BDE Consulting > > <brent.pa...@bdeconsulting.com> wrote: > > >> 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. > > >> 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. |
|
|||
|
On Wed, 31 Oct 2007 19:28:39 +0100, BDE Consulting
<brent.payne@bdeconsulting.com> 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 |
|
|||
|
BDE Consulting wrote:
> On Oct 31, 10:54 am, 4sak3n 0ne <4sak3n...@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. >>> -- >>> ================== >>> 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 ================== |
|
|||
|
On Oct 31, 11:51 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> BDE Consulting wrote: > > On Oct 31, 10:54 am, 4sak3n 0ne <4sak3n...@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. > >>> -- > >>> ================== > >>> 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 |