cannot load php5apache2_2.dll

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

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 ?

Re: cannot load php5apache2_2.dll

Quoted text here. Click to load it
I run the /.  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 ?

Re: cannot load php5apache2_2.dll

PhpNew wrote:
Quoted text here. Click to load it

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

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.

Site Timeline