php7 and pecl-pdflib fails

Andy Wodfer wodfer at gmail.com
Thu Aug 4 07:49:00 UTC 2016


Hi Sean and the rest of the FreeBSD list,

Today I stumbled upon this issue again. I needed to install php7 with the
pdf extension to be able to create PDF files from a form generator. Still,
I see the pecl-pdflib hasn't been updated for a long time and not
compatible with php7.

Any chance you or someone else could look into this? I think it makes no
sense to have a list of build options for php70-extensions where some are
not compatible with php7. :-) Also the ability to create PDF files through
php is for several of our sites very important. I'm not the only one I
think who needs this functionality.

Would appreciate any feedback.

Btw: Is there any way around this for me? Downgrading php is unfortunately
not an option on this server. Are people using some other solution for this?

Cheers,
Andy

On Wed, Apr 27, 2016 at 3:14 PM, Andy Wodfer <wodfer at gmail.com> wrote:

> Hi Sean,
>
> I skipped it in the install here, so I don't really need it for now, but
> there are probably others who do so if you're up for it - go for it! :-)
>
> Best,
> Andy
>
> On Thu, Apr 21, 2016 at 7:12 PM, Sean DuBois <sean at siobud.com> wrote:
>
>> On Thu, Apr 21, 2016 at 04:21:54PM +0200, Andy Wodfer wrote:
>> > Hi,
>> > I recently upgraded to 10.3 REL on a test server. I'm trying to install
>> all
>> > the latest versions for Apache, mysql, php and so on.
>> >
>> > php7 is installed and works perfectly with apache. However, I couldn't
>> > install the extension pecl-pdflib from the php7 extensions port, it
>> fails
>> > with the message doesn't supprt php7.
>> >
>> > ===>   phpMyAdmin-4.6.0 depends on file:
>> > /usr/local/lib/php/20151012/openssl.so - found
>> > ===>   Returning to build of phpMyAdmin-4.6.0
>> > ===>   phpMyAdmin-4.6.0 depends on file: /usr/local/lib/php/20151012/
>> pdf.so
>> > - not found
>> > ===>  pecl-pdflib-3.0.4 cannot be installed: doesn't work with
>> lang/php70
>> > port (doesn't support PHP 70).
>> > *** Error code 1
>> >
>> > Stop.
>> > make[2]: stopped in /usr/ports/print/pecl-pdflib
>> > *** Error code 1
>> >
>> > Stop.
>> > make[1]: stopped in /usr/ports/databases/phpmyadmin
>> > *** Error code 1
>> >
>> > Stop.
>> > make: stopped in /usr/ports/databases/phpmyadmin
>> >
>> > Does this mean I can't install phpmyadmin for now or is there a way
>> around
>> > this? pecl-pdflib hasn't been updated for a couple of years it seems..
>> >
>> > Anyone?
>> >
>> > Thanks,
>> > Andy
>>
>> Hi Andy!
>>
>> I do php-src/extension development[0] and would love to port pecl-pdflib
>> to PHP 7 if you need it/can confirm everything works.
>>
>> thanks
>>
>> [0] http://pecl.php.net/user/seander
>>
>
>


More information about the freebsd-questions mailing list