Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache cannot find PHP module, Help!!! |
|
Author |
|
kr33
Joined: 19 Sep 2006 Posts: 64 Location: South Africa
|
Posted: Tue 19 Sep '06 9:33 Post subject: Apache cannot find PHP module, Help!!! |
|
|
Hi All
I'm having trouble loading a module for php5 in apache
My OS : Windows Server 2003 Enterprise
Apache : version 2.2.3
PHP : Version 5
MySQL : version 5
I'm doing a manual config
In the httpd.conf file I added the following line:
LoadModule php5_module "c:/php/php5apache2.dll"
But when I restart the server, it fails and says the following...: Syntax error on line 115 <path of the httpd.conf file>, unable to load module on the server, cannot find C:\php\php5apache2.dll.
I made sure that I typed the path in correctly and that it exists. But I'm stuck now.
Please help, with setting up apache to use php5 and MySQL 5.
ANY help would be GREAT!!!
Much thanks |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|
kr33
Joined: 19 Sep 2006 Posts: 64 Location: South Africa
|
Posted: Tue 19 Sep '06 11:19 Post subject: |
|
|
Thanks James! Will try it out, much appreciated |
|
Back to top |
|
junshan
Joined: 06 Dec 2006 Posts: 1 Location: Connecticut
|
Posted: Wed 06 Dec '06 5:39 Post subject: This works for me |
|
|
You need to use c:/php/php5apache2_2.dll file downloaded from php-5.2.0-Win32.zip file rather than php5apache2.dll file. php5apache2.dll is not compatible with apache2.2.3.
This works for me.
Hope it helps.
Jonathan |
|
Back to top |
|
|
|
|
|
|