468,306 Members | 1,169 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,306 developers. It's quick & easy.

cannot load php5apache2_2.dll

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
2 74255
"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
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.

Similar topics

2 posts views Thread by Shannon Wright | last post: by
1 post views Thread by Kevin | last post: by
1 post views Thread by lithne | last post: by
2 posts views Thread by Ian Emery | last post: by
1 post views Thread by marknewbery | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by Teichintx | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.