Click to See Complete Forum and Search --> : [RESOLVED] Trouble installing php(5.1.4.4)module on Apache 2.2.2


get on your bik
07-20-2006, 04:32 PM
Hi there,

I'm sure this question gets asked alot but i've browsed through the forum and couldn't find any help, if anyone knows a thread to solve this then please just post that instead.

Anyway i've installed Apache 2.2.2 on my machine along with php 5.1.4.4 and MySQL 5.0.

My php directory is 'c:\php' and i have tried to install the module into the apache server by adding the following code to the bottom of the apache 'httdp.conf" file:


LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php"

When i try to restart/start the server i get a window saying:

'Cannot load C:/php/php5apache2.dll into server: The specified module could not be found'

Can anyone serve up a solution?
any help would be greatly appreciated, thanks in advance :xbones:

dmacman1962
07-20-2006, 04:53 PM
I don't know about anyone else, but I read that php5 and apache 2.2x are not compatible. I tried and could not get it working, so I went back to Apache 2.058.

Don

c1team
07-20-2006, 05:23 PM
Hey,
I had the same issue as well. Seems that the dll isnt loading right for some reason so apache doesn't see it. Found a modified dll that you can download from http://www.apachelounge.com/ or you can download the dll from there thread here http://www.apachelounge.com/download/ Just place the new dll in your directory of the old one or where ever you isntalled it. It should work because it worked for me. The site isnt supported by Apache but the people there are good with the Apache.

Hope that helps.

get on your bik
07-20-2006, 05:37 PM
thanks so much your help!

i've maged to enable the php module in apcache now by downgrading to 2.0x

Now, however, i get the error:


Only one usage of each socket address (protocol/network address/port) is normally permitted. :make_sock: could not bind address 0.0.0:80 no listing sockets available, shutting down
unable to open logs

anyone got any idea how i can solve this?
thanks in advance

tsinka
07-20-2006, 07:14 PM
Hi,

please check if iis (or any other software that is listening on port 80) is installed and running. That message means that there's already a server listening on port 80.

Thomas

DocAhrens
02-10-2009, 08:17 PM
In a command prompt, I entered> netstat -anb
and discovered that Skype was using port 80, so in Skype/Tools/Options/Advanced/Connection I unchecked the box beside "use port 80 and 443 as alternatives for incoming connections", dropped the hood and she started right up! In any case, even if it isn't Skype, that command" netstat -anb should help you find the culprit.

bradgrafelman
02-10-2009, 10:19 PM
Looks like DocAhrens wins the award for Thread Necromancy. :) (Note that the last post in this thread was almost 2.5 years ago!)