Bluehost.com Web Hosting $6.95

Can't get Apache to load C:/PHP/php5apache2_2.dll in Windows

This is a discussion on Can't get Apache to load C:/PHP/php5apache2_2.dll in Windows within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, This is what I have on my computer PHPIniDir "C:/environment/php5.2.8/" LoadModule php5_module "...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-25-2009
Daniel
 
Posts: n/a
Default Re: Can't get Apache to load C:/PHP/php5apache2_2.dll in Windows

Hi,

This is what I have on my computer

PHPIniDir "C:/environment/php5.2.8/"
LoadModule php5_module "C:/environment/php5.2.8/php5apache2_2.dll"

this was in the httpd.config file;

the php is installed in c:/environment/php etc

I do not have the php folder in the path.

The dll is not loaded by windows - thus you don't need to have it in the
path - but by apache where is mentioned 100%;

btw, if it still does not work:

- uninstall php
- get the installation kit msi from the website http://www.php.net
- install it
- focus the point where it asks whether you want to configure the apache for
you, then you gotta specify the conf folder of your apache installation

then restart the apache and it will work.

Regards,
Daniel
"Jay Somerset" <jay-1941-@hotmail.com> wrote in message
news:k6g7v45agtv63aj3hj2u579ult3bsdr3pi@4ax.com...
> On Sat, 25 Apr 2009 19:27:51 +0200, Aurelgadjo <aurelgadjo@gmail.com>
> wrote:
>
>>Jay Somerset a écrit :
>>> Can't figure out why I keep getting this error when starting
>>> Apache5.2_2 in Windows Vista.
>>>
>>> "Cannot load C:/PHP/php5apache2_2.dll
>>> The specified module could not be found."
>>>
>>>
>>> I installed Apache, then installed PHP. I modified the httpd.conf
>>> file for Apache to set up directories and added
>>>
>>> LoadModule php5_module "C:/PHP/php5apache2_2.dll"
>>>
>>> but that line throws the "Cannot load..." message.
>>>
>>> The .dll file really is located in the directory C:/PHP/.
>>>
>>> I'm new to Apache and PHP, but basically pretty computer literate --
>>> Windows and Linux. I'm hoping that someone can tell me what I am not
>>> doing correctly.
>>>
>>> Thanks.

>>
>>On windows, path are like c:\Windows\system32
>>Use backslashes \, not slashes.
>>So, try LoadModule php5_module "C:\PHP\php5apache2_2.dll" :)

>
> Tried that -- makes no difference. Apache treats the two as synonymous
> on a Windows system. Also tried changing case -- again no difference.
> --
> Jay (remove dashes for legal email address)



  #2 (permalink)  
Old 04-25-2009
Daniel
 
Posts: n/a
Default Re: Can't get Apache to load C:/PHP/php5apache2_2.dll in Windows

see my message; it is probably something wrong with your file name or you
did not specify the full path, something - if everything does not work, try
the php msi installer and a brand new apache installation as well and that
one gotta work

Daniel
"Jay Somerset" <jay-1941-@hotmail.com> wrote in message
news:pa29v4tonbo43mhpaluciom57jlmtnm2dt@4ax.com...
> On Sat, 25 Apr 2009 20:19:41 -0700, "theneeded" <no@no.no> wrote:
>
>>it seems that, in the LoadModule section, the targets don't need quotation
>>marks ("") around it. It's worth giving it a try

>
> Tried that too -- same result.
> I'm really stumped on this one.
>
>
>>"Jay Somerset" <jay-1941-@hotmail.com> wrote in message
>>news:4mc6v4d1qch9igvj39g4qpnmqvjkkvtd9m@4ax.com. ..
>>> Can't figure out why I keep getting this error when starting
>>> Apache5.2_2 in Windows Vista.
>>>
>>> "Cannot load C:/PHP/php5apache2_2.dll
>>> The specified module could not be found."
>>>
>>>
>>> I installed Apache, then installed PHP. I modified the httpd.conf
>>> file for Apache to set up directories and added
>>>
>>> LoadModule php5_module "C:/PHP/php5apache2_2.dll"
>>>
>>> but that line throws the "Cannot load..." message.
>>>
>>> The .dll file really is located in the directory C:/PHP/.
>>>
>>> I'm new to Apache and PHP, but basically pretty computer literate --
>>> Windows and Linux. I'm hoping that someone can tell me what I am not
>>> doing correctly.
>>>
>>> Thanks.
>>> --
>>> Jay (remove dashes for legal email address)

>>

> --
> Jay (remove dashes for legal email address)



  #3 (permalink)  
Old 04-25-2009
Jay Somerset
 
Posts: n/a
Default Can't get Apache to load C:/PHP/php5apache2_2.dll in Windows

Can't figure out why I keep getting this error when starting
Apache5.2_2 in Windows Vista.

"Cannot load C:/PHP/php5apache2_2.dll
The specified module could not be found."


I installed Apache, then installed PHP. I modified the httpd.conf
file for Apache to set up directories and added

LoadModule php5_module "C:/PHP/php5apache2_2.dll"

but that line throws the "Cannot load..." message.

The .dll file really is located in the directory C:/PHP/.

I'm new to Apache and PHP, but basically pretty computer literate --
Windows and Linux. I'm hoping that someone can tell me what I am not
doing correctly.

Thanks.
--
Jay (remove dashes for legal email address)
  #4 (permalink)  
Old 04-25-2009
Aurelgadjo
 
Posts: n/a
Default Re: Can't get Apache to load C:/PHP/php5apache2_2.dll in Windows

Jay Somerset a écrit :
> Can't figure out why I keep getting this error when starting
> Apache5.2_2 in Windows Vista.
>
> "Cannot load C:/PHP/php5apache2_2.dll
> The specified module could not be found."
>
>
> I installed Apache, then installed PHP. I modified the httpd.conf
> file for Apache to set up directories and added
>
> LoadModule php5_module "C:/PHP/php5apache2_2.dll"
>
> but that line throws the "Cannot load..." message.
>
> The .dll file really is located in the directory C:/PHP/.
>
> I'm new to Apache and PHP, but basically pretty computer literate --
> Windows and Linux. I'm hoping that someone can tell me what I am not
> doing correctly.
>
> Thanks.


On windows, path are like c:\Windows\system32
Use backslashes \, not slashes.
So, try LoadModule php5_module "C:\PHP\php5apache2_2.dll" :)
  #5 (permalink)  
Old 04-25-2009
Jerry Stuckle
 
Posts: n/a
Default Re: Can't get Apache to load C:/PHP/php5apache2_2.dll in Windows

Aurelgadjo wrote:
> Jay Somerset a écrit :
>> Can't figure out why I keep getting this error when starting
>> Apache5.2_2 in Windows Vista.
>> "Cannot load C:/PHP/php5apache2_2.dll
>> The specified module could not be found."
>>
>>
>> I installed Apache, then installed PHP. I modified the httpd.conf
>> file for Apache to set up directories and added
>>
>> LoadModule php5_module "C:/PHP/php5apache2_2.dll"
>>
>> but that line throws the "Cannot load..." message.
>>
>> The .dll file really is located in the directory C:/PHP/.
>>
>> I'm new to Apache and PHP, but basically pretty computer literate --
>> Windows and Linux. I'm hoping that someone can tell me what I am not
>> doing correctly.
>>
>> Thanks.

>
> On windows, path are like c:\Windows\system32
> Use backslashes \, not slashes.
> So, try LoadModule php5_module "C:\PHP\php5apache2_2.dll" :)


This isn't the problem. Forward slashes work quite well in Windows - in
fact, even better than backslashes, which may be taken as an escape
character.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
  #6 (permalink)  
Old 04-25-2009
Jerry Stuckle
 
Posts: n/a
Default Re: Can't get Apache to load C:/PHP/php5apache2_2.dll in Windows

Jay Somerset wrote:
> Can't figure out why I keep getting this error when starting
> Apache5.2_2 in Windows Vista.
>
> "Cannot load C:/PHP/php5apache2_2.dll
> The specified module could not be found."
>
>
> I installed Apache, then installed PHP. I modified the httpd.conf
> file for Apache to set up directories and added
>
> LoadModule php5_module "C:/PHP/php5apache2_2.dll"
>
> but that line throws the "Cannot load..." message.
>
> The .dll file really is located in the directory C:/PHP/.
>
> I'm new to Apache and PHP, but basically pretty computer literate --
> Windows and Linux. I'm hoping that someone can tell me what I am not
> doing correctly.
>
> Thanks.


Are the PHP DLLs available to Apache? This is normally done by placing
the PHP directory in your Windows PATH statement.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
  #7 (permalink)  
Old 04-26-2009
Jay Somerset
 
Posts: n/a
Default Re: Can't get Apache to load C:/PHP/php5apache2_2.dll in Windows

On Sat, 25 Apr 2009 19:27:51 +0200, Aurelgadjo <aurelgadjo@gmail.com>
wrote:

>Jay Somerset a écrit :
>> Can't figure out why I keep getting this error when starting
>> Apache5.2_2 in Windows Vista.
>>
>> "Cannot load C:/PHP/php5apache2_2.dll
>> The specified module could not be found."
>>
>>
>> I installed Apache, then installed PHP. I modified the httpd.conf
>> file for Apache to set up directories and added
>>
>> LoadModule php5_module "C:/PHP/php5apache2_2.dll"
>>
>> but that line throws the "Cannot load..." message.
>>
>> The .dll file really is located in the directory C:/PHP/.
>>
>> I'm new to Apache and PHP, but basically pretty computer literate --
>> Windows and Linux. I'm hoping that someone can tell me what I am not
>> doing correctly.
>>
>> Thanks.

>
>On windows, path are like c:\Windows\system32
>Use backslashes \, not slashes.
>So, try LoadModule php5_module "C:\PHP\php5apache2_2.dll" :)


Tried that -- makes no difference. Apache treats the two as synonymous
on a Windows system. Also tried changing case -- again no difference.
--
Jay (remove dashes for legal email address)
  #8 (permalink)  
Old 04-26-2009
Jay Somerset
 
Posts: n/a
Default Re: Can't get Apache to load C:/PHP/php5apache2_2.dll in Windows

On Sat, 25 Apr 2009 14:44:22 -0400, Jerry Stuckle
<jstucklex@attglobal.net> wrote:

>Jay Somerset wrote:
>> Can't figure out why I keep getting this error when starting
>> Apache5.2_2 in Windows Vista.
>>
>> "Cannot load C:/PHP/php5apache2_2.dll
>> The specified module could not be found."
>>
>>
>> I installed Apache, then installed PHP. I modified the httpd.conf
>> file for Apache to set up directories and added
>>
>> LoadModule php5_module "C:/PHP/php5apache2_2.dll"
>>
>> but that line throws the "Cannot load..." message.
>>
>> The .dll file really is located in the directory C:/PHP/.
>>
>> I'm new to Apache and PHP, but basically pretty computer literate --
>> Windows and Linux. I'm hoping that someone can tell me what I am not
>> doing correctly.
>>
>> Thanks.

>
>Are the PHP DLLs available to Apache? This is normally done by placing
>the PHP directory in your Windows PATH statement.


Yup. I checked. The PHP install added C:\PHP to the beginning of the
path variable.
--
Jay (remove dashes for legal email address)
  #9 (permalink)  
Old 04-26-2009
theneeded
 
Posts: n/a
Default Re: Can't get Apache to load C:/PHP/php5apache2_2.dll in Windows

it seems that, in the LoadModule section, the targets don't need quotation
marks ("") around it. It's worth giving it a try
"Jay Somerset" <jay-1941-@hotmail.com> wrote in message
news:4mc6v4d1qch9igvj39g4qpnmqvjkkvtd9m@4ax.com...
> Can't figure out why I keep getting this error when starting
> Apache5.2_2 in Windows Vista.
>
> "Cannot load C:/PHP/php5apache2_2.dll
> The specified module could not be found."
>
>
> I installed Apache, then installed PHP. I modified the httpd.conf
> file for Apache to set up directories and added
>
> LoadModule php5_module "C:/PHP/php5apache2_2.dll"
>
> but that line throws the "Cannot load..." message.
>
> The .dll file really is located in the directory C:/PHP/.
>
> I'm new to Apache and PHP, but basically pretty computer literate --
> Windows and Linux. I'm hoping that someone can tell me what I am not
> doing correctly.
>
> Thanks.
> --
> Jay (remove dashes for legal email address)



  #10 (permalink)  
Old 04-26-2009
Jay Somerset
 
Posts: n/a
Default Re: Can't get Apache to load C:/PHP/php5apache2_2.dll in Windows

On Sat, 25 Apr 2009 20:19:41 -0700, "theneeded" <no@no.no> wrote:

>it seems that, in the LoadModule section, the targets don't need quotation
>marks ("") around it. It's worth giving it a try


Tried that too -- same result.
I'm really stumped on this one.


>"Jay Somerset" <jay-1941-@hotmail.com> wrote in message
>news:4mc6v4d1qch9igvj39g4qpnmqvjkkvtd9m@4ax.com.. .
>> Can't figure out why I keep getting this error when starting
>> Apache5.2_2 in Windows Vista.
>>
>> "Cannot load C:/PHP/php5apache2_2.dll
>> The specified module could not be found."
>>
>>
>> I installed Apache, then installed PHP. I modified the httpd.conf
>> file for Apache to set up directories and added
>>
>> LoadModule php5_module "C:/PHP/php5apache2_2.dll"
>>
>> but that line throws the "Cannot load..." message.
>>
>> The .dll file really is located in the directory C:/PHP/.
>>
>> I'm new to Apache and PHP, but basically pretty computer literate --
>> Windows and Linux. I'm hoping that someone can tell me what I am not
>> doing correctly.
>>
>> Thanks.
>> --
>> Jay (remove dashes for legal email address)

>

--
Jay (remove dashes for legal email address)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 02:35 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0