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"" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] >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