Windows Install troubles.

From: Date: Mon, 17 Jun 2002 21:13:37 +0000
Subject: Windows Install troubles.
Groups: php.install php.windows 
Request: Send a blank email to php-install+get-7353@lists.php.net to get a copy of this message
Hi all. Im having difficulty getting PHP up and running with my Windows system. I am trying to get PHP, Apache and SQL installed and running. I installed apache, installed PHP, copied the required DLLs into the apache\modules directory, and added the lines to AddModule and LoadModule. After doing this, when I try to view a PHP page in my browser, it shows the raw code/html behind the page. Any ideas why? Im pasting the page in question below this so you can see it. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Login Page</title> </head> <?php $dbhost = "127.0.0.1"; $dbuser = "root"; $dbpass = "invictus"; $db = "LoginInfo"; $LoginDB=@mysql_connect($dbhost, $dbuser, $dbpass); if (! $LoginDB) { print "<p>Unable to connect to the database server at this time.</p>"; exit(); } else { ?> <style type="text/css"> body { color: white; background: black; } </style> <p align="Center"><img src="Banner.png" width="666" height="103" alt="D&D Resource Page" border="0">"</p> <br><br><br><br> <form name="Login" method="Post" action="<?echo $PHP_SELF?>"> <p align="Center"> Login: <input type="text" name="User Name"> Password: <input type="password" name="Password"> <input type="submit" name="Submit" value="Submit" </p> </form> <?php { ?> </html>

« previous php.install (#7353) next »