Re: PHP, mySQL, Apache and Windows XP Pro
| From: | Oscar Andersson | Date: | Fri, 17 Jun 2005 21:40:27 +0000 |
| Subject: | Re: PHP, mySQL, Apache and Windows XP Pro | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-16309@lists.php.net to get a copy of this message | ||
If i change it to
<html>
<?php
$_SESSION['kundnummer'] = "nummer";
$_SESSION['kundnamn'] = "name";
?>
<body>
<h3 align="center">Welcome <?=$_SESSION['kundnamn']?>
</h3>
</body>
<html>
it works. PHP is enabled.
or u could try this
<html>
<head>
<title>PHP</title>
</head>
<body>
<?php
phpinfo();
?>
</body>
</html>
It works. I dident know that you have to do some changes in the php.ini
file.
I did set session.auto_start = 1
; Initialize session on request startup.
session.auto_start = 1
Oscar Andersson
""Oscar Andersson"" <oscarandersson2@hotmail.com> skrev i meddelandet
news:57.11.25033.6AED2B24@pb1.pair.com...
>I have installed PHP5 and apache 2 on my computer.
> I have made a application in PHP 5.0 that use session variabels. This
> application works ok when i run it at my IIS webserver but when i try it
> with the apache webserver it doesent work. I think it is something with
> the session variables. Maybe i have to change something with the apache
> server ?
>
> I hope for help
> Oscar Andersson