Re: Windows Install troubles.
| From: | MikeParton | Date: | Mon, 17 Jun 2002 21:13:45 +0000 |
| Subject: | Re: Windows Install troubles. | ||
| References: | 1 | Groups: | php.install php.windows |
| Request: | Send a blank email to php-windows+get-14249@lists.php.net to get a copy of this message | ||
what versions of Apache, PHP and what "SQL" do you have installed? Do you
mean MySQL? If so, what version?
----- Original Message -----
From: "Shiloh Madsen" <shiloh_madsen@nsc-support.com>
To: <php-install@lists.php.net>; <php-windows@lists.php.net>
Sent: Monday, June 17, 2002 5:13 PM
Subject: [PHP-INST] Windows Install troubles.
> 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>
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>