|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
PHP not Running in Apache
I've installed Apache 2.0.58 and PHP 5.1.4 in Gentoo. Apache works fine - I was able to bring up the default page without any problems. /var/log/apache2/access_log shows my accessing the page.
I've configured /etc/conf.d/apache2 to have -D PHP5 for running the PHP module. I've checked that httpd.conf includes the code for adding the module. I've checked server-info and it does show mod_php5.c. When I try to view a .php page that simply runs phpinfo(), but Firefox wants to download the file. I've tried Konquerer and Seamonkey as well (which I don't use, so cache shouldn't be an issue) and get the download message or an editor that opens up the page and shows the code. I'm able to run PHP from the command line. I've searched the Gentoo forums and haven't found anything yet that I haven't tried. What else can I try to get this running? |
|
#2
|
||||
|
||||
|
RE: PHP not Running in Apache
|
|
#3
|
|||
|
|||
|
RE: PHP not Running in Apache
Thanks, I'll give that a try when I get home and update this thread as necessary.
|
|
#4
|
|||
|
|||
|
RE: PHP not Running in Apache
All,
Having the same problem on w2k pro. Think this is an apache missing dll/lib or win registry problem. Any ideas? OMR |
|
#5
|
|||
|
|||
|
RE: PHP not Running in Apache
http://www.apachelounge.com/download/mods/php5apache2.dll-php5.1.x.zip
if you're having a problem with the dll, this will solve it. there are compatibility issues, and this module was released as a work-around. hope this helps someone... |
|
#6
|
|||
|
|||
|
RE: PHP not Running in Apache
tkarkkainen, the change did not work for me. I noticed nothing different.
|
|
#7
|
|||
|
|||
|
RE: PHP not Running in Apache
I'm having the same problem on Ubuntu....
|
|
#8
|
|||
|
|||
|
RE: PHP not Running in Apache
I had the same problem a while ago. Somebody advised me to start the whole installation of php again, this time followin the installation help from www.php.net. it worked 4 me. when installing there is a point after updating the PATH file u MUST restart the comp, that was my whole problem.
the php.net might be down at the moment bt u can try http://us3.php.net/manual/en/install.general.php hope u get it right. |
|
#9
|
|||
|
|||
|
RE: PHP not Running in Apache
As I am running Gentoo, I used portage for the install, following the Apache install documentation they have. The computer has been restarted a number of times to no effect. Granted, I did have an upgrade this weekend, but haven't checked it yet. I'm not holding my breath on this one.
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > PHP not Running in Apache |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|