Page 1 of 1

Unable to load dynamic lybrary

Posted: Tue Jun 28, 2005 9:57 pm
by harrisonad
OK, I am getting frustrated on this one.
I have new installation of php on my pc, and i setup php.ini the same way as before but i got errors on dll extensions
Unable to load dynamic library 'C:\php\extensions\php_xxxx.dll'
I have set the ff. correctly
- extension_dir = "C:\php\extensions"
- copied the extensions folder to C:\php
- checked that all dll files are inside this folder

But the error stil persists.
Any idea?

Posted: Wed Jun 29, 2005 2:03 am
by Chris Corbyn
What version of PHP are using and what version of PHP did you use these DLL's on before? It could be a version mismatch.

Posted: Wed Jun 29, 2005 2:35 am
by harrisonad
My os was reinstalled and this is clean installation of PHP 4.11.

Posted: Wed Jun 29, 2005 3:30 am
by phpScott
try changing your slashes to the other direction like so.

Code: Select all

extension_dir = &quote;C:/php/extensions/&quote;
I have found it useful to add the trailing slash as well.

Posted: Wed Jun 29, 2005 8:36 pm
by harrisonad
wew! am i a big fat jerk!
I forgot to copy the dll folder to "C:\php" because some dll extensions need additional 'bundled' dll found inside dll folder of distribution package. One of which is 'php_mssql.dll' which is what i am loading.
Now the errors are gone.
Thanks for all your replies.