DLL-files.com Client fixes your immediate error, and solves any possible future DLL errors. When you buy DLL-files.com Client it’s yours. You pay just once and can use the program whenever you need it. Apr 28, 2006 php5 on apache2 error: Cannot load c:/php/php5apache2.dll. PHP Forums on Bytes.
I reinstalled windows (98), installed apache and extracted the php5 zip file into c: php. I renamed php.ini-recommended to php.ini and added the following lines to httpd.conf: LoadModule php5_module 'c:/php/php5apache2.dll' AddType application/x-httpd-php.php PHPIniDir 'C:/php' now when i start apache i get an error message: Syntax error on line 957 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf: Cannot load C:/php/php5apache2.dll into server: One of the library files needed to run this application cannot be found. When i delete the line LoadModule php5_module 'c:/php/php5apache2.dll' apache works fine. I tried to copy php5ts.dll to c: windows, c: windows system and c: program files apache group apache2 bin, it still doesnt work. What can i do.? Are you supposed to be using forward slashes? Wrote: i reinstalled windows (98), installed apache and extracted the php5 zip file into c: php.
I renamed php.ini-recommended to php.ini and added the following lines to httpd.conf: LoadModule php5_module 'c:/php/php5apache2.dll' AddType application/x-httpd-php.php PHPIniDir 'C:/php' now when i start apache i get an error message: Syntax error on line 957 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf: Cannot load C:/php/php5apache2.dll into server: One of the library files needed to run this application cannot be found. When i delete the line LoadModule php5_module 'c:/php/php5apache2.dll' apache works fine. I tried to copy php5ts.dll to c: windows, c: windows system and c: program files apache group apache2 bin, it still doesnt work. What can i do.? Wrote: i reinstalled windows (98), installed apache and extracted the php5 zip file into c: php.
I renamed php.ini-recommended to php.ini and added the following lines to httpd.conf: LoadModule php5_module 'c:/php/php5apache2.dll' AddType application/x-httpd-php.php PHPIniDir 'C:/php' now when i start apache i get an error message: Syntax error on line 957 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf: Cannot load C:/php/php5apache2.dll into server: One of the library files needed to run this application cannot be found. When i delete the line LoadModule php5_module 'c:/php/php5apache2.dll' apache works fine. I tried to copy php5ts.dll to c: windows, c: windows system and c: program files apache group apache2 bin, it still doesnt work.
What can i do.? Where did you install php to? If it is in C: php then php2apache2.dll should be in C: php php2apache2.dll. Your httpd.conf file should contain: LoadModule php5_module C:/php/php2apache2.dll AddType application/x-httpd-php.php PHPIniDir 'C:/php' -david.
Another one of those Apache/PHP woes that you may be experiencing. If you’re handling your WAMP installation yourself, then read this just for the extra knowledge. I ran into this while upgrading Apache from 2.2 to 2.4, which required me to update my PHP. In the process, I had Apache remove and re-add my service entry (so the service name changed from apache2.2 to apache2.4).
After I did that, this error started popping up, but only when Apache was run as a service – it worked fine if I launched Apache from the command line. I decided it was a permissions problem, since services don’t get full permissions by default. I went and changed the logon account for the Apache2.4 service to log in as Administrator, and poof – problem solved.
I don’t recommend you leave the service set to run as Administrator, but that is the quick fix. Ultimately, you’d want to nail down where the permissions problem is and sort it out at the root cause, so you can run the service under the less-privileged account for security reasons.