Page 1 of 1

Unable to load php_pdflib.dll

Posted: Thu Apr 01, 2010 10:36 am
by vwduud
Getting: "PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php-5\ext\php_pdflib.dll' - The specified procedure could not be found."

This is after upgrading from PHP4 to PHP 5.3.2, finding out php_pdf.dll was "renamed" (and I assumed rebuilt) as php_pdflib.dll, searching for a new copy of php_pdflib.dll (placing it in the "ext" folder referenced above), and adding "extension=php_pdflib.dll" in PHP.ini.

I also placed a copy of PHP5.dll in the Windows\System32 folder which change the message from "module" could not be found, to what is above ("procedure" could not be found). Has me leaning toward a compatability issue among the supporting files (versions).

Last thing I did was to check the "dependencies" of php_pdflib.dll. Here's the list (as generated from Visual Studio's Dependency Walker tool):

ADVAPI32.DLL
KERNEL32.DLL
MSVCRT.DLL
NTDLL.DLL
PHP5.DLL
RPCRT4.DLL
SECUR32.DLL

All of which are in my Windows\System32 folder, included the aforementioned PHP5.DLL that I added.

Any help?