Click to See Complete Forum and Search --> : PHP and Apache
WakeBDr
11-30-2000, 08:11 AM
I can't get php4 to work on my apache. I'm pretty sure I compiled it into my apache, I used Apache Toolbox to install apache. Everytime I try to access my test.php page, it pops up a download dialog to download test.php. Can someone help me out here?
------------------
Your mouse has moved. Windows must reboot for the changes to take effect.
Sweede
11-30-2000, 03:40 PM
you have to edit the apache conf file.
scroll down the file (httpd.conf) about 700 lines or so until you see
addtype application-x-httpd/php or something like that, and uncomment the ones for php4
WakeBDr
11-30-2000, 03:42 PM
I have done that and restarted apache since then.
DJKAOS
11-24-2001, 11:23 PM
This is a really old post :)
I am having the same problem, I guess no one knows the answer.?
I installed Apache, PHP fine..
i ran httpd -l and its shows my php4.c or whatever the hell its called.
I uncommented the config file..
but I still dont get my PHP script to work, it just shows the script on the page instead of actually running it.
Apache works fine though, I can make regular html stuff no problem.
nuisance
11-24-2001, 11:55 PM
Is it loading the php module? Check httpd.conf for the line 'LoadModule php4_module' or something similar and make sure its uncommented. You will have to stop then start the server for it to re-read the config file.
DJKAOS
11-25-2001, 12:41 AM
I deleted everything and started over and now it works good.
only thing is I want to be able to work on the html and php when I am on my user account and not only in root. How can I do that?
WilliamWallace
11-26-2001, 12:15 AM
i answered this in another one of your postings....