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: 1441
Discussions: 200,507, Posts: 2,374,395, Members: 245,831
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? (1635)
FT HOOD attack: 7 killed 12 injured (66)
Review My Build (5)
HELP!!! What do you think of this s.. (16)
Looking for a graphic card that wil.. (30)
Assosiations (21496)
My 1st pc build (40)
Aero in Vista (7)
PC Modern Warfare 2: it's much wors.. (12)
core i7 extreme 975, nvidia 9400gt (9)
How to Ship a PC (16)
Building my first computer (13)
slaving laptop drive (7)
[F@H SPAM 11/1/09]New month . . . n.. (33)
Recent Discussions
how to convert mod to wmv/avi/mp4/mov.. (0)
FAT32 to NTFS file system in Win2kpro (3)
Motherboards and my curse... (25)
Review My Build (5)
HELP!!! What do you think of this sys.. (16)
New Processor, Monitor will not turn .. (2)
2009 Build (4)
Internet very slow since updating AVG.. (7)
My 1st pc build (40)
Freezing During Music/Movies (1)
Windows Experience Index is screwed u.. (2)
ext. sound card laptop to stereo syst.. (2)
Remote Desktop via SSH and error mess.. (2)
Help and Support disappeared from my .. (0)
[F@H SPAM 11/1/09]New month . . . new.. (33)
Basic applications needed for "r.. (1)
core i7 extreme 975, nvidia 9400gt (9)
hard drive problem (2)
Win7 TrustedInstaller Permissions (2)
Speed up Win 7 boot time a bit (1)
Hard Drive test program (2)
wireless westell versalink model 327w (1)
New build 10 second reboot cycle! Won.. (3)
New Linksys Routers (2)
sometime power/Amber light (0)


All times are GMT -4. The time now is 03:49 AM.
TechIMO Copyright 2008 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