•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 456,556 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,441 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 2554 | Replies: 3
![]() |
•
•
Join Date: Oct 2007
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
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 ???
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 ???
Last edited by suren66 : Oct 17th, 2007 at 8:51 am.
•
•
Join Date: Oct 2007
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
•
•
•
•
I 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 able to help.
hi Rory
thanks for the reply , i've tried this also ,yet it's not working !
in the config file i've added the following lines :
LoadModule php5_module c:/php/php5apache2_2.dll
AddType application/x-httpd-php .php .phtml
ScriptAlias /php/ "c:/php"
Action application/x-httpd-php "/php/php.exe"
I have copied and registered phpactivescript.dll too.
I realy have no idea why isn't it working fine!!!!!!!!!
![]() |
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
activation aero ajax apple asp blog choose code computer crack cracked dell development download fiji home internet key kms leopard license linux mac management microsoft news office open operating os pc php product registration security serial service software source survey system tiger torvalds unix upgrade vista web windows windows vista xp
- Windows vista and bearshare (Windows Vista)
- Windows Fax and Scan replacement for Vista Home Premium users (Windows Vista)
- Installing Microsoft Vista (Windows Vista)
- "Dual boot with Vista Home Basic" (Windows Vista)
- OEM DVD Burners and Vista Home Install (Storage)
- Uninstalling Vista Home Upgrade (Windows Vista)
- Vista Final has officially hit. which version are you getting? (Windows Vista)
- need help in installing gd library with php 4.3.10 (PHP)
Other Threads in the PHP Forum
- Previous Thread: Multi-Language Interface in PHP/XML or PHP/MySQL
- Next Thread: How to schedule task using php on windows?


Linear Mode