home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Win xp, Apache2.x, PHP4.x, problems testing php or posibly not installed correctly

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2207
Discussions: 200,920, Posts: 2,379,024, Members: 246,286
Old March 13th, 2003, 08:35 AM   Digg it!   #1 (permalink)
Junior Member
 
Join Date: Mar 2003
Posts: 1
Win xp, Apache2.x, PHP4.x, problems testing php or posibly not installed correctly

I have installed Apache2.x on windows XP and PHP-4.3.1-win32 the server starts Ok (I think)and I'm able to view html files but when I try my PHP test file containing:
<?php
phpinfo();
?>
saved as a .php file.
I enter my IP address, eg.172.183.203.136/test.php
and up pops a dialog box asking me if I want to save the file "test.tar"
Iwas thinking posibly my: doc_root ="c:\ProgramFiles\ApacheGroup\Apache2\htdocs" is wrong or I have put the test.php in the wrong folder, it is in the htdocs.
Can you help me?
Thanks
Ronan
Ronanmckibbin is offline   Reply With Quote
Old March 13th, 2003, 09:27 PM     #2 (permalink)
Banned
 
qball's Avatar
 
Join Date: Oct 2001
Posts: 447
Did you follow the instuctions to install the PHP module on Apache? Read install.txt in the PHP install folder.

What url do you use to serve straight html files? Suppose you have index.htm in drive:\inetpub\wwwroot, and the server seems to find ok. Put php file in there and see if it actually executes the PHP, at worst it should display the php, which indicates PHP not installed or configured in Apache correctly. When you config apache for PHP, you will also need to set the folder/directory execute settings to allow it to run PHP.

Hope this helps...
qball is offline   Reply With Quote
Old April 5th, 2003, 05:40 PM     #3 (permalink)
Member
 
shotokan's Avatar
 
Join Date: Mar 2003
Location: 35.92 N 84 W
Posts: 158
Send a message via ICQ to shotokan Send a message via AIM to shotokan
Try this. It's called Indigo Perl, its what i used on my XP machine to get PHP, Perl and Apache 2.0.44 running properly. Its an excellent distro of these. Download the zip-->extract it-->run setup.bat-->reboot and presto it all works.
__________________
d[o.o]b
shotokan is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2838)
Why is Khalid Sheikh Mohammed even .. (9)
Obama the Muslim (9)
Is the PSU I received dead? (10)
windows vista security holes (7)
Install XP pro and a Vista laptop ?.. (9)
HIS HD5770 graphic card question (15)
Foreign voltage (8)
A good PSU? (10)
Dept. of HS: NSA 'Helped' Develop V.. (15)
Print spooler problem (10)
New Computer wont recognize XP disc (7)
Ideal cheap graph card for PC-Gamin.. (15)
EVGA 9800 gtx help with finding a g.. (8)
Recent Discussions
[F@H SPAM 11/16/09] ! 1/2 months to r.. (31)
Foreign voltage (8)
Dept. of HS: NSA 'Helped' Develop Vis.. (15)
Help getting around port 80 for camer.. (0)
windows vista security holes (7)
I need help getting around blocked po.. (0)
Install XP pro and a Vista laptop ?? (9)
Virus Doctor Popup? (0)
EVGA 9800 gtx help with finding a goo.. (8)
Modern Warfare For the PC (32)
Browsers wont load websites (0)
Problem with speed step/turbo boost? (1)
monitor will not turn on at all, (0)
Modern Warfare 2: Who Bought It? (61)
World's largest Monopoly Game using G.. (330)
Print spooler problem (10)
SIS 740 and Widescreen (8)
Baffling Problem with my CPU/MoBo's. .. (0)
Display shows 3x5 inch in middle of s.. (0)
HIS HD5770 graphic card question (15)
Best file format to play on Windows H.. (0)
PSP Go bought in Japan (0)
Asus P4G8X Mobo (3)
Need hard disk drivers (4)
windows 7 internet problem (4)


All times are GMT -4. The time now is 04:13 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28