I am having terriable trouble getting Apache to run with PHP. I am using Apache V2.2 and PHP V4.4.4 and as far as I can figure I have followed all the instructions to the letter and I still am getting errors.
So far I have done the following:
Installed PHP binary and Apache to c:\php and C:\Program Files\Apache Software Foundation\Apache2.2
I have taken all DLLs from the DLL folder and the SAPI folder in the PHP dir and dumped them into the main PHP Dir
I have added the lines::
LoadModule php4_module "c:/php/php4apache2.dll"
AddType application/x-httpd-php .php
to the Conf file. I added them to the section with Loadmodule entries and Addtype entries respectively.
I also added
PHPIniDir "C:/php"
and taken it out.
It seems that when I atempt to restart Apache the server locks up for a second and and error "The Requested operation has Failed!" is displayed
I have also tried many combinations to get this right. I have tried going at it from scrach many times also.
Apache and PHP not working together
Moderator: General Moderators
-
munkifisht
- Forum Newbie
- Posts: 14
- Joined: Wed Oct 11, 2006 9:15 am
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
-
munkifisht
- Forum Newbie
- Posts: 14
- Joined: Wed Oct 11, 2006 9:15 am