logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



PHP

 
Post new topic   Reply to topic    Apache Forum Index -> Other Software



View previous topic :: View next topic  
Author Message
Danny-the-man



Joined: 22 May 2006
Posts: 2

PostPosted: Mon 22 May '06 13:53    Post subject: PHP Reply with quote

Hi i have a problem i run: Apache 2.2 and Php 5.1.4 ( Home not online ) My Windows is: Windows xp pro sp2
And i have download php5apache2.dll from here it all works but. I have this file php file:

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<?

$id = $_GET["id"];

if($id == "") {

?>

<!-- Insert default site here-->
Default

<?
}

if($id == "1") {
?>

<!-- Insert site 1 here-->
1
<?
} elseif($id == "2") {
?>

<!-- Insert site 2 here-->
2
<?
} elseif($id == "3") {
?>

<!-- Insert site 3 here-->
3
<?
}
?>
</body>
</html>

I can run this code on many servers but not on my why????? Plz help me
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6255
Location: Germany, Next to Hamburg

PostPosted: Mon 22 May '06 19:16    Post subject: Reply with quote

That can caused by many reasons.
shorttags disabled?
PHP is not runnning (anything the apache and / or php error log?
Tried other scripts?


Your script is correct. It must some configuration issue or something is not running well.
Back to top
Danny-the-man



Joined: 22 May 2006
Posts: 2

PostPosted: Wed 24 May '06 15:19    Post subject: I found it Reply with quote

Thx for the help that was apache ini file Thx
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Other Software
Page 1 of 1