installing PDF on Apache

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
gurjit
Forum Contributor
Posts: 314
Joined: Thu May 15, 2003 11:53 am
Location: UK

installing PDF on Apache

Post by gurjit »

HI ALL,

i'm trying to make my apache server to allow me to create pdf templates dynamically from a database. I managed to do this on my windows machine by going in to the php.ini file and uncommenting lines

extension=php_cpdf.dll
extension=php_pdf.dll

what do i do on an apache server to allow me to write scripts to create dynamic pdf templates??? what do i need to install and what commands do i use???

any help will be appreciated
User avatar
Stoker
Forum Regular
Posts: 782
Joined: Thu Jan 23, 2003 9:45 pm
Location: SWNY
Contact:

Post by Stoker »

.. To use those extensions you need PHP compiled with support for themm (on *nix the equiv of a .dll is a .so, but the .so file needs to be there, if you compile PHP yourself you can enable it during configuration and it will be created), and you likely need the corresponding PDF lirbaries as well (See the manual, these libs are NOT free for commercial use, not on Windows either, alhtought it sounds like someone distributed them within your package)..
Post Reply