Board index   FAQ   Search  
Register  Login
Board index PHP PHP Installation

PDFLib Lite installation for PHP 5 on Windows

Forum for you who has PHP installation issues

Moderators: macek, egami, gesf

PDFLib Lite installation for PHP 5 on Windows

Postby popeye » Tue Aug 14, 2007 12:41 pm

I am trying to use the PDF functions with PHP-5 on a windows environment. I downloaded the PDFLib lite 7.0.2 but I can not find anywhere how to get it to work. The PHP documentation does not provide much help either. I appreciate any help or any pointer on this subject. :?
User avatar
popeye
New php-forum User
New php-forum User
 
Posts: 120
Joined: Sat Jan 03, 2004 7:06 pm
Location: New York, NY

Postby popeye » Mon Aug 20, 2007 11:00 am

:o
Hey, 45 people viewed this post and no one has a clue? Nobody ever uses the PDF function???????
:o
User avatar
popeye
New php-forum User
New php-forum User
 
Posts: 120
Joined: Sat Jan 03, 2004 7:06 pm
Location: New York, NY

Postby Jan » Mon Aug 20, 2007 5:53 pm

I don't know, how you install it under Windows, but I know, how to install it under Unix.
There you just have to do a command at the commandline:
pecl install channel://pecl.php.net/pdflib-2.1.3
I don't know if there is such a function under Windows. So I can't really help you, but I wanted to answer you at least.
Jan
New php-forum User
New php-forum User
 
Posts: 6
Joined: Fri Aug 03, 2007 6:25 pm
Location: Germany

Postby popeye » Thu Aug 23, 2007 6:39 am

I installed it by copying the PHP_PDF.DLLl in the extensions folder and modified the php.ini file. When I run the sample script from PHP5 documentation I get the following error:

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
PDFlib exception (fatal): [1202] PDF_set_parameter: Unknown key 'objorient'
Error in my_thread_global_end(): 1 threads didn't exit

Any idea? :?
User avatar
popeye
New php-forum User
New php-forum User
 
Posts: 120
Joined: Sat Jan 03, 2004 7:06 pm
Location: New York, NY


Return to PHP Installation

Who is online

Users browsing this forum: No registered users and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron