hi
I have windows vista home basic runing on my pc , i've installed apache 2.2 and php 5.2.4 ,
i've added all the needed lines to httpd.config and restarted the apache , it's all fine and am not facing any error . but when I test it with the index.php which i have made >>>
<html>
<head>
<title> my first php</title>
<body>
<p> my first php: <? echo "hello world!"; ?>
</body>
</html>
i dont find it working !
in browser i just can see my first php but not the "hello world!"
any suggestion ???
suren66
0
Newbie Poster
Recommended Answers
Jump to PostI have had that too, but with php 4.
I solved it by using the tags
<?php ... /?>
instead of the<? ... /?>
Try that and see - it might be a setting somewhere in your config file. Maybe one of the php boffins here will be …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.