you might need to put a ; after the function call. <? phpinfo(); ?>
and make sure that the "/php/php.exe" is actually located in the ServerRoot = "c:/apache" the php folder has to be located in the location that the ServerRoot points to. Jim ----- Original Message ----- From: "Gaylen Fraley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 25, 2001 8:42 PM Subject: [PHP-WIN] Re: Page Not Found > You don't mention the load module directive. Are you trying to load the > module? If so, you should see a line like > > LoadModule php4_module ..... > > -- > Gaylen > [EMAIL PROTECTED] > http://www.gaylenandmargie.com > PHP KISGB v2.1 Guestbook http://www.gaylenandmargie.com/phpwebsite > > "Peter Vertes" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hello All, > > > > I'm having trouble installing PHP on a W2K workstation. I've got > mySql > > and Apache working on it fine but I can't get it to display a PHP test > page. > > When I do http://localhost/ it shows the test HTML page fine. When I do > > http://localhost/test.php I get an error message saying that the page can > > not be found. Now the page is there, it is called test.php and it > contains > > the following line: > > > > <? phpinfo() ?> > > > > Now, in my httpd.conf file I have the following: > > > > AddType application/x-httpd-php .php > > AddType application/x-httpd-php-source .phps > > AddType application/x-httpd-php .phtml > > AddType application/x-httpd-php .phtml > > > > AddType application/x-tar .tgz > > > > Action application/x-httpd-php "/php/php.exe " > > > > Can anyone hit at what could be wrong ? Thanks in advance... > > > > -Pete > > > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]