-
Sep 21, 2002, 09:21 PM
#1
need a little direction
:-\well, my dilemma is this. I downloaded and successfully installed (at least I think I did) apache web server and the "runtime environment" for pHp but I don't know if it works. whenever I try to run a pHp script, I'm getting a prompt to download the pHp file from the localhost (NB. I'm using my PC as webserver). I'm thinking one of the configurations in the httpd.conf file are incorrect but I can't tell which one. I was sure to follow all the instructions... the php file is in the apache root dir (htdocs) and the file extension is correct but I'm not sure how exactly to manipulate the Scriptaliases and Action lines to make them match up.
can anyone give me some pointers as to where I could've gone wrong while installing?
-
Sep 21, 2002, 09:26 PM
#2
Re:need a little direction
Questions:
1. what OS ar you running?
2. what versions of apache and PHP have you installed?
These might seem like stupid questions but I had issues with Apache 2.x and PHP 4.x on a Win 98 machine (don't laugh :-[). I ended up using Apache 1.23 and PHP 4.x.
-
Sep 21, 2002, 09:29 PM
#3
Re:need a little direction
well I'm using windows ME , and I've installed pHp 4.2.3 and apache HTTP server 2.0.40
-
Sep 21, 2002, 10:00 PM
#4
Re:need a little direction
All I have to say is ;D hehe hehe - just kidding. I had problems with it too - maybe not the same one - but hey - this is where i turned to (below).
http://www.phpbuilder.com/columns/moon19990716.php3
http://www.phpbuilder.com/columns/boutwell19991212.php3
http://www.phpbuilder.com/columns/suyoto20010809.php3
Those pages have links to other stuff that should help you out. - You too Chris. I fixed my problem - hope you have the same luck with yours.
Are you using latest version - http://www.php.net/downloads.php - the link is stairing you right in the face at the bottom of each page of this board :
Respec... 8)
FYI:
Physicists create antimatter - http://news.com.com/2100-1001-958719.html
Microsoft buys game developer "Rare" - http://news.com.com/2100-1040-958821.html
First wearable PC - http://www.techtv.com/news/computing...392846,00.html
-
Sep 21, 2002, 10:22 PM
#5
Re:need a little direction
Verm, I'll deal with you later ;D
dfross, after you moved php4ts.dll to the windows\system directory, make sure you add the three lines to the Apache conf file:
LoadModule php4_module c:/php/sapi/php4apache2.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
Note that I have c:/php/sapi/php4apache2.dll instead of c:/php/sapi/php4apache.dll as indicated in the php instructions.
Try this and see if it works.
Oh, make sure you stop and start back the server after making the changes.
-
Sep 22, 2002, 10:36 AM
#6
Re:need a little direction
fixed the problem guys, apparently apache version 2.x does not work properly with php 4.x on windows ME. so I had was to download the previous version of apache (version 1.3.x) and now it is working just fine.
thanks alot for the help.
one
8)
-
Sep 22, 2002, 12:32 PM
#7
Re:need a little direction
dfross, glad to know you've resolved the problem. I thought I was missing something when I encountered the same issues. If you want Apache 2.x and PHP 4.x to work, upgrade to Windows 2000 or XP pro from ME/98.
-
Sep 22, 2002, 08:48 PM
#8
Re:need a little direction
??? Why use Apache on Win2k or XP - when you have IIS at your disposal?
-
Sep 23, 2002, 08:31 AM
#9
Re:need a little direction
-
Jul 16, 2003, 10:33 PM
#10
Re:need a little direction
basically, i have installed php using a server know as sambar on my pc. you might not choose the correct installation option for php when you were installing it. if problems persists you need to check your php.ini file and make sure every things is correct.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules