Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Aug 2016 12:46:38 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: php7-extensions PDF (PECL-PDFLIB) fails
Message-ID:  <8629e22f-8fb1-184d-f562-a7821f98c184@FreeBSD.org>
In-Reply-To: <CABgB0xR3VWrGsyvaQaGCwQ7%2B1Ty8kphE7pqPAoOYOPLB%2BUgL4A@mail.gmail.com>
References:  <CABgB0xR3VWrGsyvaQaGCwQ7%2B1Ty8kphE7pqPAoOYOPLB%2BUgL4A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--FPcMp0fQ0Pp3R4n9hMiBEQ2dF6gHlltwQ
Content-Type: multipart/mixed; boundary="bApUKsxGaikA9hpNoMTlFeB4QV27Rlgcp"
From: Matthew Seaman <matthew@FreeBSD.org>
To: freebsd-ports@freebsd.org
Message-ID: <8629e22f-8fb1-184d-f562-a7821f98c184@FreeBSD.org>
Subject: Re: php7-extensions PDF (PECL-PDFLIB) fails
References: <CABgB0xR3VWrGsyvaQaGCwQ7+1Ty8kphE7pqPAoOYOPLB+UgL4A@mail.gmail.com>
In-Reply-To: <CABgB0xR3VWrGsyvaQaGCwQ7+1Ty8kphE7pqPAoOYOPLB+UgL4A@mail.gmail.com>

--bApUKsxGaikA9hpNoMTlFeB4QV27Rlgcp
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 21/08/2016 11:27, Andy Wodfer wrote:
> 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.
>=20
> php7 is installed and works perfectly with apache. However, I couldn't
> install the extension pecl-pdflib from the php7 extensions port, it fai=
ls
> with the message doesn't supprt php7.
>=20
> =3D=3D=3D>   phpMyAdmin-4.6.0 depends on file: /usr/local/lib/php/20151=
012/openssl.so
> - found
> =3D=3D=3D>   Returning to build of phpMyAdmin-4.6.0
> =3D=3D=3D>   phpMyAdmin-4.6.0 depends on file: /usr/local/lib/php/20151=
012/pdf.so
> - not found
> =3D=3D=3D>  pecl-pdflib-3.0.4 cannot be installed: doesn't work with la=
ng/php70
> port (doesn't support PHP 70).
> *** Error code 1
>=20
> Stop.
> make[2]: stopped in /usr/ports/print/pecl-pdflib
> *** Error code 1
>=20
> Stop.
> make[1]: stopped in /usr/ports/databases/phpmyadmin
> *** Error code 1
>=20
> Stop.
> make: stopped in /usr/ports/databases/phpmyadmin
>=20
> I need this extension to create PDF files from an application my client=
 is
> running. Anyone?

Ah, so you definitely need the pdflib extension?  That means your only
option here is to downgrade to php-5.6 I'm afraid.  (Otherwise you could
simply have dropped the PDF support from phpMyAdmin.)

Hmmm... it's odd that there's apparently no fix freely available to make
pecl-pdflib work with php-7 by this late date.  There is apparently
something commercially available from the pdflib people themselves, but
obviously, you have to pay for that:

https://www.pdflib.com/fileadmin/pdflib/System_Requirements/PDFlib-9.0.7-=
system-requirements.txt

Also, no idea if phpMyAdmin can use the PHP bindings there.

	Cheers,

	Matthew



--bApUKsxGaikA9hpNoMTlFeB4QV27Rlgcp--

--FPcMp0fQ0Pp3R4n9hMiBEQ2dF6gHlltwQ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJ8BAEBCgBmBQJXuZSkXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkAThKgQAI5a/qKCRyF33Gzq3h9PAEzs
/r3pLuU8zqbsv4/AoEeyNznSKy8oHikEM3AFU5iQK7gIq42WFiFlyhJl/IHaDC3f
LHSSXNWpCyXU/3MxspJhX4g3DaYm56u+8j2LwNYZBsmi13LDKmEyWQeyhHPJn8uo
hAg2yzx6CT5MDNDXAJJnEFhrzmdg139y5vV5UAygNAuzG/Ohx+0udirHE9w6BDRF
v4Ic/6y78mhoHH0j0MpS+PlnNVEedw5g9i5cbeVq82h/5dDxvo/NqnEgwQuvbe/r
X+HPwl8uGq1TjX2O/NJs8Alr1liTml0jKx/WeX04SNtiFznd27riGuOXRarIDRqP
Jcs+Ee+H3/jKXc7Z28yP5rrCp8ClQVT0YcmRAJGYXXC7TLmJe39GgF2Eoiifau6p
bZl+36zzo0j/ziD71EbI5QxWzPXEpjA/tTts1ZjTuuDKkqRaHuNmGe1Ef/B9Eg1r
DmO2B09THNFuXrNJIbgZqBvaGezmf2BWkPtCC4FUHljXdPqBxZHuNdtovaEwgoKk
sRt4dBwZQWNjKHVCiJkiD43k+T9bULunJPUa+Uzsu+0Kk75hx5f/C1/f/ZE2jF2z
XyvxkMEnAY5b00N3waS8m5dR2NYBt8PraRj302YEIdt2kWsuTQvWuNFVjFyFCIeK
gvbx/rwIBNaLzbvFQd4W
=kv76
-----END PGP SIGNATURE-----

--FPcMp0fQ0Pp3R4n9hMiBEQ2dF6gHlltwQ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8629e22f-8fb1-184d-f562-a7821f98c184>