<? 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