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?
>
> <grin>,
> 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 <the full path to php.exe.exe>\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
> > >
> > > <?php
> > >   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

Reply via email to