Click to See Complete Forum and Search --> : Solution for 'php_pdf.dll' error


wilsonhi
08-02-2002, 12:13 AM
Dear all,

I have just installed my PHP4 on Win2k with the EasyInstaller and have also came across the warning " Unable to find 'php_pdf.dll' "

After a struggle looking for a solution, i managed to solve the problem..

So just to share with those who has the same problem...

Solution :
Open php.ini in "C:\WINNT" dir.
Move the beginning line 'extension=php_pdf.dll' to the place as shown below :

;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
include_path=; UNIX: "/path1:/path2" Windows: "\path1;\path2"
doc_root=; the root of the php pages, used only if nonempty
user_dir=; the directory under which php opens the script using /~username, used only if nonempty
; directory in which the loadable extensions (modules) reside
extension_dir="C:\INETPUB\SCRIPTS\PHP\EXTENSIONS"
extension=php_gd.dll
extension=php_db.dll
extension=php_zlib.dll
extension=php_mssql70.dll
extension=php_dbase.dll
extension=php_pdf.dll <--------HERE

-------------------------
The reason is because the php.ini needs to know where is the extension_dir before loading the php_pdf.dll :-)

Hope this is helpful to all using the Windows easyinstaller .... before a new Easyinstaller is created... Cheers !