[php] Apache/PHP cannot load module

Heeter

Overclocked Like A Mother
Joined
8 Jul 2002
Messages
2,732
Hi all,

I am having trouble loading my php modules, according to the apache error log.

This is the errors in the log:

Code:
[Wed Dec 12 14:03:07 2007] [notice] Parent: Created child process 2968
PHP Warning:  PHP Startup: Unable to load dynamic library '.\\ext\\php_curl.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '.\\ext\\php_gd2.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '.\\ext\\php_gettext.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '.\\ext\\php_imap.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '.\\ext\\php_openssl.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '.\\ext\\php_snmp.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '.\\ext\\php_imagick.dll' - The specified module could not be found.\r\n in Unknown on line 0
My question is: how do I get rid of the double backslashes appearing, cause I know thats what my problem is.

Sever Setup:
WinXPPro/Apache2.2.4/PHP5.2.1/MySQL4.1.2


Thanks,

Heeter
 
Last edited:

Dark Atheist

OSNN Veteran Addict
Political Access
Joined
8 Apr 2003
Messages
6,376
that is actually right, make sure the dlls are either there or look throught php.ini under extensions and comment them out
 

Heeter

Overclocked Like A Mother
Joined
8 Jul 2002
Messages
2,732
Hey Carpo,

Thanks for the response, bud.

I think that it's wrong, because my other older webserver setup doesn't put double slashes in the error log, when there were errors during setup.

I do have the modules loaded into the \ext folder, I have also tried to comment them out, and the errors disappear, but I do need a couple to load, though.


Thanks

Heeter
 

Dark Atheist

OSNN Veteran Addict
Political Access
Joined
8 Apr 2003
Messages
6,376
guessing you have
; Directory in which the loadable extensions (modules) reside.
extension_dir = "./"

or

extension_dir = "C:\path_to\php\ext"

i always tend to install php to C:\PHP - spaces in folder names can cause problems, also have you put any of the php dlls in the windows or system32 folder ?
 

Heeter

Overclocked Like A Mother
Joined
8 Jul 2002
Messages
2,732
No it still not working,

I have moved to PHP 5.2.5 and it still is doing this,

I have moved from Apache 2.2.4 to 2.2.3, still same situation.

Maybe a problem with Windows?



Thanks a whole bunch, Carpo.


Heeter
 

Heeter

Overclocked Like A Mother
Joined
8 Jul 2002
Messages
2,732
BTW, love your new avatar, Carpo


Heeter
 

Dark Atheist

OSNN Veteran Addict
Political Access
Joined
8 Apr 2003
Messages
6,376
when i have had a web server on here apache 2.2.6 mysql 5.0.45 and php 5.2.5 i had no errors
 

Heeter

Overclocked Like A Mother
Joined
8 Jul 2002
Messages
2,732
That is why I am thinking Windows XP itself.

Everything I am throwing at it is giving me the same results.


Heeter
 

Geffy

OSNN Veteran Addict
Joined
18 Mar 2002
Messages
7,805
Have you tried adding your PHP directory to the system PATH variable?
 

Heeter

Overclocked Like A Mother
Joined
8 Jul 2002
Messages
2,732
Your right Carpo.

I mistyped my post.


Heeter
 

Rhainor

OSNN Newbie
Joined
22 Dec 2007
Messages
2
I'm having this same problem.

Funny thing is, I didn't have this problem under Vista. Now I'm trying to move my webserver-related stuff to my "new" franken-box (which is running XP), and stuff starts breaking.
 

Heeter

Overclocked Like A Mother
Joined
8 Jul 2002
Messages
2,732
Welcome To OSNN, Rhainor.

Hope you enjoy your stay.

I fixed my problem by moving from Apache 2.2.4 to 2.2.3


Heeter
 

Rhainor

OSNN Newbie
Joined
22 Dec 2007
Messages
2
Welcome To OSNN, Rhainor.

Hope you enjoy your stay.

I fixed my problem by moving from Apache 2.2.4 to 2.2.3


Heeter
After posting my message, I did a little more looking around, and was able to fix the problem by doing a manual install instead of using the .msi installer.
 

Members online

No members online now.

Latest forum posts

Latest profile posts

Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?
Perris Calderon wrote on Electronic Punk's profile.
Hey EP! All good with me, applying for Microsoft MVP right now, should have done this a while ago.

Notifications don't work, I only found your response by coming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier!
Perris Calderon wrote on Electronic Punk's profile.
EP, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there!

Forum statistics

Threads
61,997
Messages
673,413
Members
5,591
Latest member
nodee