By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,949 Members | 1,827 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,949 IT Pros & Developers. It's quick & easy.

cannot load php5apache2_2.dll

P: n/a
I'v downloaded the newest apache and php versions.

Apache and PHP instalation and starting went without problems.

I set the ini file into the windows / system32
After that i was trying to set the *.conf file in C:/program files/apache
group /apache2/conf/.

In the part of Dynamic Shared Object (DSO) Support i set:

LoadModule php5_module modules/php5apache2_2.dll

AddType application/x-httpd-php .php .phtml .php3 .php4
AddType application/x-httpd-php-source .phps

Restart server : error
Exit server:
Start/programs/apache HTTP server 2.0/control apache server /start
Command prompt: syntax error on line 174 of c:/program files/apache
group/apache2/ httpd.conf
Cannot load c:\php\php5apache2_2.dll into server. The specific file could
not be found.

The file * php5apache2_2.dll * is in the C:\php\ directory and i was trying
to put him into modules directory but the error is the same.
As far as i can see on the net i'm not the only one with this error..

Any idea ?
Sep 22 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"PhpNew" <ma**@mail.comwrote in message
news:gb**********@localhost.localdomain...
I'v downloaded the newest apache and php versions.

Apache and PHP instalation and starting went without problems.

I set the ini file into the windows / system32
After that i was trying to set the *.conf file in C:/program files/apache
group /apache2/conf/.

In the part of Dynamic Shared Object (DSO) Support i set:

LoadModule php5_module modules/php5apache2_2.dll

AddType application/x-httpd-php .php .phtml .php3 .php4
AddType application/x-httpd-php-source .phps

Restart server : error
Exit server:
Start/programs/apache HTTP server 2.0/control apache server /start
Command prompt: syntax error on line 174 of c:/program files/apache
group/apache2/ httpd.conf
Cannot load c:\php\php5apache2_2.dll into server. The specific file could
not be found.

The file * php5apache2_2.dll * is in the C:\php\ directory and i was
trying to put him into modules directory but the error is the same.
As far as i can see on the net i'm not the only one with this error..

Any idea ?
******************************
I run the http://www.dependencywalker.com/. and set the

PATH=%SystemRoot%;%SystemRoot%\System32;C:\php;C:\ program files\apache
group\apache2\bin int httpd.conf ( disabling the loadModule)

cmd: Depends.exe c:/home/php/php5apache2_2.dll
Message: php5apache2_2.dll contains invalid path

So what to do now... should i get some older php version ?
Sep 22 '08 #2

P: n/a
PhpNew wrote:
I'v downloaded the newest apache and php versions.

Apache and PHP instalation and starting went without problems.

I set the ini file into the windows / system32
After that i was trying to set the *.conf file in C:/program files/apache
group /apache2/conf/.

In the part of Dynamic Shared Object (DSO) Support i set:

LoadModule php5_module modules/php5apache2_2.dll

AddType application/x-httpd-php .php .phtml .php3 .php4
AddType application/x-httpd-php-source .phps

Restart server : error
Exit server:
Start/programs/apache HTTP server 2.0/control apache server /start
Command prompt: syntax error on line 174 of c:/program files/apache
group/apache2/ httpd.conf
Cannot load c:\php\php5apache2_2.dll into server. The specific file could
not be found.

The file * php5apache2_2.dll * is in the C:\php\ directory and i was trying
to put him into modules directory but the error is the same.
As far as i can see on the net i'm not the only one with this error..

Any idea ?
You also need to ensure the other files needed by php are in the PATH
environment variable, i.e. php5ts.dll, etc.

The easiest way is to put your php directory in the PATH environment
variable.

Also, I normally just load the PHP dll directly from the PHP directory, i.e.

LoadModule php5_module c:/php5/php5apache2_2.dll

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Sep 22 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.