User Name Password Register
DaniWeb IT Discussion Community
All
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
Reply
Join Date: Oct 2007
Posts: 3
Reputation: suren66 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
suren66 suren66 is offline Offline
Newbie Poster

installing apache2.2 and php 5.2.4 on vista home basic

  #1  
Oct 17th, 2007
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 ???
Last edited by suren66 : Oct 17th, 2007 at 8:51 am.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2007
Location: South Africa
Posts: 60
Reputation: RoryGren is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 7
RoryGren's Avatar
RoryGren RoryGren is offline Offline
Junior Poster in Training

Re: installing apache2.2 and php 5.2.4 on vista home basic

  #2  
Oct 17th, 2007
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.
Reply With Quote  
Join Date: Oct 2007
Posts: 3
Reputation: suren66 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
suren66 suren66 is offline Offline
Newbie Poster

Re: installing apache2.2 and php 5.2.4 on vista home basic

  #3  
Oct 17th, 2007
Originally Posted by RoryGren View Post
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!!!!!!!!!
Reply With Quote  
Join Date: Sep 2007
Location: Budapest
Posts: 252
Reputation: fatihpiristine has a little shameless behaviour in the past 
Rep Power: 0
Solved Threads: 14
fatihpiristine's Avatar
fatihpiristine fatihpiristine is offline Offline
Posting Whiz in Training

Re: installing apache2.2 and php 5.2.4 on vista home basic

  #4  
Oct 17th, 2007
uninstall everyting. restart your pc.
install:
1- mysql
2- apache
3- php. (stop apache server before u install)

restart your pc again... then it will work... it happens something depends on what service packets you have installed on your windows..
Do a favour, leave me alone
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb PHP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 5:34 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC