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 "...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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) |
|
|||
|
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) |
|
|||
|
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 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" :) |
|
|||
|
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 ================== |
|
|||
|
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 ================== |
|
|||
|
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) |
|
|||
|
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) |
|
|||
|
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) |
|
|||
|
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) |