Config between PHP and PDFlib
| From: | Renato Barata Gomes | Date: | Thu, 08 Mar 2001 12:35:48 +0000 |
| Subject: | Config between PHP and PDFlib | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2289@lists.php.net to get a copy of this message | ||
I am having problems to configure PHP4.0 and PDF4.0.
I downloaded PDFlib 4.0 and it says that supports PHP scripts.
But I can not put it to work. Function errors ...
In the PDFlib manual they say the following:
Installing the PDFlib PHP
In order to guarantee full functionality across all PD lib language bindings we modified
and extended the previous PHP wrapper code.Our new PHP wrapper is included in PHP
4.05 and above,and is also included in PDFlib 4.0 and above.It works with PDFlib 3.0
and above.Other PHP PDF functions than those discussed in this manual are not sup-
ported,although the wrapper code contains a few unsupported functions for backwards
compatibility.If you are not using the latest snapshot from the PHP CVS you may copy
the PHP wrapper distributed with PDFlib to your PHP directory and replaced the old
PDFlib wrapper which is included with PHP releases older than 4.05.
---------------------->>>>>>> Problem the latest version of PHP is 4.0.4
You can test which version of the PHP PD lib binding you have installed with the fol-
lowing little script:
<?phpinfo()?>
This will display a long info page about your current PHP configuration.On this page
check the section titled pdf.If this section contains PDFlib GmbH Version (and the PD lib
version number)you are using the supported PDFlib wrapper.The unsupported (old)
wrapper will display PDFlib Version instead.
----------------------->>> Problem: There is no pdf section in the phpinfo()!!!
Sorry for the big mail!!!
I need to solve this problem urgent...
How should I proceed to work with PHP4.0 and PDFlib 4.0
Thanks