# Bogus load error for my extension

- Thread: https://externals.io/message/43264
- Original archive: https://news-web.php.net/php.internals/43264
- Started by David M. Patterson on 2009-03-06T00:54:54+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #43264 — David M. Patterson — 2009-03-06T00:54:54+00:00

URL: https://externals.io/message/43264#43264

I'm having a curious problem with my extension.
I just moved to PHP 5.3-200903031530, made various changes as appropriate
and successfully built it.
Running php -i generates the expected output, including all of the stuff
from my extension. 
The odd thing is that PHP always reports:
PHP Warning:  PHP Startup: Unable to load dynamic library
'./Debug_TS\php_dplhlib' - The specified module could not be found.

This seems particularly odd to me since it's built statically (and runs).

Ideas?

Thanks!

---

## #43265 — Greg Beaver — 2009-03-06T01:13:01+00:00

URL: https://externals.io/message/43264#43265 · In reply to: #43264

David M. Patterson wrote:
> I'm having a curious problem with my extension.
> I just moved to PHP 5.3-200903031530, made various changes as appropriate
> and successfully built it.
> Running php -i generates the expected output, including all of the stuff
> from my extension. 
> The odd thing is that PHP always reports:
> PHP Warning:  PHP Startup: Unable to load dynamic library
> './Debug_TS\php_dplhlib' - The specified module could not be found.
> 
> This seems particularly odd to me since it's built statically (and runs).
> 
> Ideas?

yes - remove extension=php_dplhlib.dll from php.ini.  You probably have
an old one you've forgotten about that is getting loaded.  You can
verify by doing

php -i |more

and seeing which it is loading, and then edit it in your favorite text
editor.

:)
Greg
