[SOLVED] Problem with php.ini

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
ddragas
Forum Contributor
Posts: 445
Joined: Sun Apr 18, 2004 4:01 pm

Problem with php.ini

Post by ddragas »

Hi all!

I've got problem with creating pdf files on local machine. I'm using Win XP pro.

Path in php.ini for extensions is
(copy/paste)

extension_dir = "C:\php\extensions\"

and that is correct.

When I want to run script that creates pdf file I get error.

Unable to load dynamic library 'C:\php\extensions\php_pdf.dll' - The specified module could not be found.

This mesage is teling me that this file (php_pdf.dll) does not exist in this directory, but it exists.


Please help me.

Regards
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

I've had this problem too, the error appears because the php_* module depends on some other libs/dll .


I solved this by adding all files from %php%/dlls to %windir%/system32

After restarting apache, the error disappeared ;)
User avatar
ddragas
Forum Contributor
Posts: 445
Joined: Sun Apr 18, 2004 4:01 pm

Post by ddragas »

It works now thank you
Post Reply