Bruce Gust
asked on
Need some help setting up PDFLib
Hey, guys! Here's what I've got:
When I go to run a page whose job it is to build a PDF page, I get this error: "194 Fatal error: Class 'PDFlib' not found in /vagrant/html/application/ helpers/St atementIma ger/Abstra ctStatemen tPDFGenera tor.php on line 74."
I'm using the attached pdf, which is the manual that shows you how to install PDFLib, but I'm feeling like a pig on roller skates and I'm hoping somebody can point me in the right direction.
Here's what I'm thinking:
pdf_php.dl l
I have no clue what that means and I'm thinking that's a dealbreaker / dealmaker right there.
Bottom line: It's not working and I need some help.
Thoughts?
PDFlib-in-PHP-HowTo.pdf
When I go to run a page whose job it is to build a PDF page, I get this error: "194 Fatal error: Class 'PDFlib' not found in /vagrant/html/application/
I'm using the attached pdf, which is the manual that shows you how to install PDFLib, but I'm feeling like a pig on roller skates and I'm hoping somebody can point me in the right direction.
Here's what I'm thinking:
- because I'm having to add some lines to my php.ini file, the fact that I'm using a Code Igniter platform doesn't change the way PDFLib is going to be installed. It's considered part of the PHP / system paradigm. It's not an "add on" within Code Igniter
- I have this line in my php.ini file:
- extension=php_pdflib.dll
- In the manual, on page six (6.1), you see a section where this terminology is being used:
I have no clue what that means and I'm thinking that's a dealbreaker / dealmaker right there.
Bottom line: It's not working and I need some help.
Thoughts?
PDFlib-in-PHP-HowTo.pdf
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I got it to work on my WAMP server as a test, but the Vagrant environment, where the site that I'm working on is hosted, requires me to use a VI dynamic to edit the php.ini file.
Do you smell that? That's the aroma of another question: https://www.experts-exchange.com/questions/28979816/How-to-Insert-a-File-Using-Text-Editor.html
Thanks!
Do you smell that? That's the aroma of another question: https://www.experts-exchange.com/questions/28979816/How-to-Insert-a-File-Using-Text-Editor.html
Thanks!
ASKER
What I have on my box is a duplicate of the working app that's online. The only thing that I can think of that would explain why I'm not able to get a PDF to show up on my screen is because of that "bind/php/php-<version>/li
BTW: The reason I'm trying to get this particular library properly installed is because it's the one used in the application I'm trying to troubleshoot.
What is "bind...?" Are there files that need to be included and where would I look for them? Is the "extension" line in my php.ini file the only thing that needs to be in place for this to fire correctly?