Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

php_pdflib.dll

Status
Not open for further replies.

gwigington68661

Technical User
Nov 20, 2009
2
US
Hey all,
I am very new to .php, but I am trying to add the php_pdflib.dll to my IIS 6.0 Server running PHP 5.2.12.

I have added the dll to the ext directory and made sure the extensions directory value is correct in the php.ini. I then added the line extension=php_pdflib.dll to my php.ini file. I then also restart IIS.

When I try a simply Hello World php page I get the following error:
Fatal error: Call to undefined function pdf_new() in E:\XXXSite\Site\pdf.php

Also when I do an phpinfo() I don't see any reference to the PDF.

What can I be doing wrong??

Thanks for the Help in advance.
 
in windows it is often the case that the php.ini that you think to be the right version, is in fact not.

the location of php.ini is disclosed in phpinfo(). can you double check and report back?
 
Yep I verified the location of the PHP.ini file. I did however afer a long night get it to work by simply starting with an older version that I had that included the dll already in the package.

Thanks for the help anyway.


 
if this happens again, or to other people, turn on the display_startup_errors directive in php.ini, or check the php error log as either route should give you the right information.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top