How to install cpdf module in php 5.3.3 and CentOS 5.5?

Forum for you who has PHP installation issues

Moderators: macek, egami, gesf

craigliu
New php-forum User
New php-forum User
Posts: 1
Joined: Mon Mar 07, 2011 2:07 pm

How to install cpdf module in php 5.3.3 and CentOS 5.5?

Postby craigliu » Mon Mar 07, 2011 3:09 pm

How to install/enable cpdf in php 5.3.3 and CentOS 5.5? I have a new computer with CentOS 5.5. I have installed php 5.3.3 from ius repository.

I have compiled old version's libcpdf-2.02r1-0.src.rpm and pecl/cpdf which were download in 2007. After installation and restart httpd, I got a error message:


PHP Warning: PHP Startup: cpdf: Unable to initialize module\nModule compiled with module API=20050922\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line.


Where to find newest libcpdf and pecl/cpdf? What is your suggestion to install cpdf module in hp 5.3.3? If cpdf is not available anymore, what is its replacement. I have a software which is using cpdf_open() etc to generate a pdf file.

Thanks for your help. I'm auxious to expect your any feddback.

Return to “PHP Installation”

Who is online

Users browsing this forum: No registered users and 1 guest