Re: [PHP] W2K SP2, PHP 4.2.1, IIS 5

2002-05-22 Thread Joshua E Minnie

I am about ready to use the hammer.  I know almost nill about IIS.  I do
know for sure that the PHP interpretter is working.  Does anybody who knows
about IIS have any advice for me to test if IIS is really working?

-frustrated josh


"Sqlcoders.Com Programming Dept" <[EMAIL PROTECTED]>:
> Ho hum,
> So it doesn't seem to be script mappings - I stand corrected.
>
> Have you checked that the .PHP type is associated in the
>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\Script
> Map branch of the registry?.
> You might want to check that it's .PHP, and not .PHP4 , as this could be
> your problem if some tool did the setup and you didn't see the actual file
> ext being mapped.
>
> If that doesn't work, then as you already know the problem isn't with the
> PHP interpreter,
> it's probably something in IIS having a fit.
>
> Here's my general checklist:
> Did you restart IIS?
> Did you restart the server?
> Does php.exe have the appropriate permissions?
> Are you sure that the script mappings are correct? (based upon the fact
that
> you're getting the php source I'm inclined to say that it's still your
> script mappings).
>
> If all that fails, there's always:
> Have you tried a hammer?
>
> ,
> I hope somewhere in there you find an answer,
> if it was me I'd be triple checking my script mappings, as from what
you've
> said everything seems to work individually, the pieces just haven't been
> bound together.
>
> HTH,
> Dw.
>
> Sqlcoders.com Dynamic data driven web solutions
> - Original Message -----
> From: "Sqlcoders.com Programming Dept" <[EMAIL PROTECTED]>
> To: "php general" <[EMAIL PROTECTED]>
> Cc: "Joshua E Minnie" <[EMAIL PROTECTED]>
> Sent: May 22 2002 09:14 PM
> Subject: Re: [PHP] W2K SP2, PHP 4.2.1, IIS 5
>
>
> > Hi there!,
> > In a word - script mappings.
> >
> > In the IIS administrator,
> > you must associate the .php extension with the php interpreter.
> >
> > Use the IIS help wizard to tell you how,
> > or:
> > 1. Start Regedt32.exe and open the following registry key:
> > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC
> > \Parameters\ScriptMap
> >
> > 2. Click Add Value from the Edit menu.
> >
> > 2b. The Value Name is .php
> >
> > 2c. The Data type is REG_SZ.
> >
> > 2d. The String value is \php.exe %s %s
> > NOTE: The "%s %s" is case sensitive. (e.g. "%S %S" will not work).
> > (%s %s is the file, you might need to add a -i or -whatever if php needs
> it)
> >
> > 3. Restart the WWW service.
> >
> > 4. Cross your fingers, if it doesn't work go in & play with the string
> value
> > by using the edit dialog in regedt32.
> >
> > HTH,
> > Dw.
> >
> > Sqlcoders.com Dynamic data driven web solutions
> > - Original Message -
> > From: "Joshua E Minnie" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: May 22 2002 10:54 AM
> > Subject: [PHP] W2K SP2, PHP 4.2.1, IIS 5
> >
> >
> > > Hey all,
> > > I have a problem, that I can't seem to find the answer to.  I have
> > > checked the archives and the website, but to no avail.  I have
installed
> > PHP
> > > 4.2.1 on my local machine with IIS running W2K Pro.  When I run
php -i,
> I
> > > get the html output expected.  But when I try to open the simple php
> > script
> > >
> > >  > >   phpinfo();
> > > ?>
> > >
> > > all I get is the script written directly to the browser as text.  I
> can't
> > > figure out why it is not going through php.exe.  Any help would be
> greatly
> > > appreciated.
> > >
> > > -josh
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] W2K SP2, PHP 4.2.1, IIS 5

2002-05-22 Thread 1LT John W. Holmes

> If all that fails, there's always:
> Have you tried a hammer?

I like the 369 rule. Drop it from 3 feet, if it still doesn't work, drop it
from 6 feet, and if it still isn't working, drop it from 9 feet. If none of
that works then trash it. WARNING: Don't use this rule for children.

---John Holmes...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] W2K SP2, PHP 4.2.1, IIS 5

2002-05-22 Thread Sqlcoders.com Programming Dept

Ho hum,
So it doesn't seem to be script mappings - I stand corrected.

Have you checked that the .PHP type is associated in the
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\Script
Map branch of the registry?.
You might want to check that it's .PHP, and not .PHP4 , as this could be
your problem if some tool did the setup and you didn't see the actual file
ext being mapped.

If that doesn't work, then as you already know the problem isn't with the
PHP interpreter,
it's probably something in IIS having a fit.

Here's my general checklist:
Did you restart IIS?
Did you restart the server?
Does php.exe have the appropriate permissions?
Are you sure that the script mappings are correct? (based upon the fact that
you're getting the php source I'm inclined to say that it's still your
script mappings).

If all that fails, there's always:
Have you tried a hammer?

,
I hope somewhere in there you find an answer,
if it was me I'd be triple checking my script mappings, as from what you've
said everything seems to work individually, the pieces just haven't been
bound together.

HTH,
Dw.

Sqlcoders.com Dynamic data driven web solutions
- Original Message -
From: "Sqlcoders.com Programming Dept" <[EMAIL PROTECTED]>
To: "php general" <[EMAIL PROTECTED]>
Cc: "Joshua E Minnie" <[EMAIL PROTECTED]>
Sent: May 22 2002 09:14 PM
Subject: Re: [PHP] W2K SP2, PHP 4.2.1, IIS 5


> Hi there!,
> In a word - script mappings.
>
> In the IIS administrator,
> you must associate the .php extension with the php interpreter.
>
> Use the IIS help wizard to tell you how,
> or:
> 1. Start Regedt32.exe and open the following registry key:
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC
> \Parameters\ScriptMap
>
> 2. Click Add Value from the Edit menu.
>
> 2b. The Value Name is .php
>
> 2c. The Data type is REG_SZ.
>
> 2d. The String value is \php.exe %s %s
> NOTE: The "%s %s" is case sensitive. (e.g. "%S %S" will not work).
> (%s %s is the file, you might need to add a -i or -whatever if php needs
it)
>
> 3. Restart the WWW service.
>
> 4. Cross your fingers, if it doesn't work go in & play with the string
value
> by using the edit dialog in regedt32.
>
> HTH,
> Dw.
>
> Sqlcoders.com Dynamic data driven web solutions
> - Original Message -
> From: "Joshua E Minnie" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: May 22 2002 10:54 AM
> Subject: [PHP] W2K SP2, PHP 4.2.1, IIS 5
>
>
> > Hey all,
> > I have a problem, that I can't seem to find the answer to.  I have
> > checked the archives and the website, but to no avail.  I have installed
> PHP
> > 4.2.1 on my local machine with IIS running W2K Pro.  When I run php -i,
I
> > get the html output expected.  But when I try to open the simple php
> script
> >
> >  >   phpinfo();
> > ?>
> >
> > all I get is the script written directly to the browser as text.  I
can't
> > figure out why it is not going through php.exe.  Any help would be
greatly
> > appreciated.
> >
> > -josh
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] W2K SP2, PHP 4.2.1, IIS 5

2002-05-22 Thread Sqlcoders.com Programming Dept

Hi there!,
In a word - script mappings.

In the IIS administrator,
you must associate the .php extension with the php interpreter.

Use the IIS help wizard to tell you how,
or:
1. Start Regedt32.exe and open the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC
\Parameters\ScriptMap

2. Click Add Value from the Edit menu.

2b. The Value Name is .php

2c. The Data type is REG_SZ.

2d. The String value is \php.exe %s %s
NOTE: The "%s %s" is case sensitive. (e.g. "%S %S" will not work).
(%s %s is the file, you might need to add a -i or -whatever if php needs it)

3. Restart the WWW service.

4. Cross your fingers, if it doesn't work go in & play with the string value
by using the edit dialog in regedt32.

HTH,
Dw.

Sqlcoders.com Dynamic data driven web solutions
- Original Message -
From: "Joshua E Minnie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: May 22 2002 10:54 AM
Subject: [PHP] W2K SP2, PHP 4.2.1, IIS 5


> Hey all,
> I have a problem, that I can't seem to find the answer to.  I have
> checked the archives and the website, but to no avail.  I have installed
PHP
> 4.2.1 on my local machine with IIS running W2K Pro.  When I run php -i, I
> get the html output expected.  But when I try to open the simple php
script
>
>phpinfo();
> ?>
>
> all I get is the script written directly to the browser as text.  I can't
> figure out why it is not going through php.exe.  Any help would be greatly
> appreciated.
>
> -josh
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] W2K SP2, PHP 4.2.1, IIS 5

2002-05-22 Thread Joshua E Minnie

Already tried the other tag, and php extension is setup as a CGI in IIS.
That is why this is puzzling me so.

-josh

"Bruce Vander Werf" <[EMAIL PROTECTED]> wrote:
> Josh,
>
> Try just using 
> Make sure your php file has the extension php and make sure the php
> extension is setup as a CGI extension in IIS (pointing to php.exe).
>
> --Bruce

"Joshua E Minnie" <[EMAIL PROTECTED]> wrote:
> Hey all,
> I have a problem, that I can't seem to find the answer to.  I have
> checked the archives and the website, but to no avail.  I have installed
PHP
> 4.2.1 on my local machine with IIS running W2K Pro.  When I run php -i, I
> get the html output expected.  But when I try to open the simple php
script
>
>phpinfo();
> ?>
>
> all I get is the script written directly to the browser as text.  I can't
> figure out why it is not going through php.exe.  Any help would be greatly
> appreciated.
>
> -josh



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] W2K SP2, PHP 4.2.1, IIS 5

2002-05-22 Thread Bruce Vander Werf

Josh,

Try just using mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 12:55 PM
To: [EMAIL PROTECTED]
Subject: [PHP] W2K SP2, PHP 4.2.1, IIS 5


Hey all,
I have a problem, that I can't seem to find the answer to.  I have
checked the archives and the website, but to no avail.  I have installed PHP
4.2.1 on my local machine with IIS running W2K Pro.  When I run php -i, I
get the html output expected.  But when I try to open the simple php script



all I get is the script written directly to the browser as text.  I can't
figure out why it is not going through php.exe.  Any help would be greatly
appreciated.

-josh



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php