If what I wrote abowe doesnt work, then it is not a coding problem you have
at hand.
I don't know much about PWS but whereever you configure PWS try to find out
what kind of file extensions it knows and what actions it is set to take.
As in "what does PWS do when it incounters a *.asp file and what does it do
when it incounters a *.php file?"

Of cause you will get an error if PWS sends a *.php file to the ASP-parser,
so you have to make sure that PWS knows what to do with those files namely
send it to the PHP-parser.

/Aidal

"Aidal" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> <? phpinfo() ?>
> This will probably not work since you do not tell the function what to do
> with the returned value.
>
> <? echo phpinfo(); ?> or <? print(phpinfo()); ?>
> Should solve that problem.
>
> /Aidal
>
> "Keith Engelhardt" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > I have installed PHP (using the install wizard and files from
> > http://www.php.net/downloads.php on Windows98 and PWS. The PWS <Home>
> > virtual directory
> > to set for Read, Execute, and Scripts access. PWS sever is runing and it
> > runs other web content (both html and ASP) fine. But I get a HTTP 500 -
> > Internal server error when accessing a page
(http://localhost/PHPtest.php)
> > containing
> >
> > <html>
> > <head>
> > <body>
> > <p>PHP Test</p>
> > <?php phpinfo()?>
> > </body>
> > </head>
> > </html>
> >
> > I have tested the PHP executable with c:\PHP\php.exe -i and it dumps the
> > info file just fine.
> >
> > I have checked the registry and .ini file and the settings and they seem
> to
> > match all the areas covered in the "manual install" instructions at the
> > http://localhost/PHPtest.php site. So, I assume the install wizard did
its
> > job.
> >
> > Can anyone suggest anything else to try? Or how to get PHP running on a
> > Windows98 and PWS platform?
> >
> > Thanks in advance.
> >
> > Keith E.
> > [EMAIL PROTECTED]
> >
> >
> >
> >
>
>



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

Reply via email to