|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
php apache problem
Hey I installed php and apache, and for some reason, when I go to a php file in a url such as cheese.com/index.php it tries to download index.php.... can someone help?
|
|
#2
|
|||
|
|||
|
RE: php apache problem
Hello,
I had a similar problem when trying to put together my PHP/apache instillation. Although you didn't advice us to which operating system, Apache and php version, I think that it is a safe bet to say that the problem can be simple oversight. Check your loadmodule instru in the http conf file for any spelling errors. If problem persist, provide your apache and php version plus what operating system you are running. Then we can better troubleshoot the issue. Your friendly Neighborhood Web Slinger, B |
|
#3
|
|||
|
|||
|
RE: php apache problem
I'm running Free BSD, Apache 2.0, and PHP 4. I have a feeling it is something like it isn't loading the module right or something.... What are the key things you need in the httpd.conf file (as far as making sure php works?
PS the webserver is working completely fine; it's only php that isn't working. I had it installed before and working right and everything and I had to replace my httpd.conf with a backup, so I think I lost a couple important parts in it for php maybe... |
|
#4
|
|||
|
|||
|
RE: php apache problem
I beleive that the way you could fix the problem is if you go to the http.config file, open it in your favorite editor and look for the area that say Loadmodule... Here you should find a bunch of load module directives. Inorder to fix your problem include the following.
LoadModule php4_module "C:/php/php4apache2.dll" Amend the second part to reflect where you saved you php4apache2.dll. for Php4 I belive that it would be in your C:windowssystem32 hopefully this would remedy your problem. Good luck, Your friendly neigbhor hood web slinger |
|
#5
|
|||
|
|||
|
RE: php apache problem
Having the same situation. I just did all of the above.
Did you ever get php and apache to coexist and run. I am running apache 2.05 and php 4.4.2 under windows 2000. |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > php apache problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|