Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Apr 2016 15:58:55 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: php7 and pecl-pdflib fails
Message-ID:  <5718EAAF.5050604@FreeBSD.org>
In-Reply-To: <CABgB0xSRLxcU%2B5_hzWNgdtMnuXEerRwTFv4zqhq_bJXBvUY8vg@mail.gmail.com>
References:  <CABgB0xSRLxcU%2B5_hzWNgdtMnuXEerRwTFv4zqhq_bJXBvUY8vg@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)
--FOsW7Xddnde9G1DMttH7WQjsir7XTEJEK
Content-Type: multipart/mixed; boundary="MUqvEjNo1et7p5rCnjcmhojVtAxTDOrpJ"
From: Matthew Seaman <matthew@FreeBSD.org>
To: freebsd-questions@freebsd.org
Message-ID: <5718EAAF.5050604@FreeBSD.org>
Subject: Re: php7 and pecl-pdflib fails
References: <CABgB0xSRLxcU+5_hzWNgdtMnuXEerRwTFv4zqhq_bJXBvUY8vg@mail.gmail.com>
In-Reply-To: <CABgB0xSRLxcU+5_hzWNgdtMnuXEerRwTFv4zqhq_bJXBvUY8vg@mail.gmail.com>

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

On 2016/04/21 15:21, 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.
>=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/20151012/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
> Does this mean I can't install phpmyadmin for now or is there a way aro=
und
> this? pecl-pdflib hasn't been updated for a couple of years it seems..
>=20
> Anyone?

I believe phpMyAdmin itself is compatible with php7 -- but I haven't
personally tested that.  Even though I'm the maintainer for phpMyAdmin,
I don't use it that often nowadays: most of my database needs are served
by postgresql at the moment.

pecl-pdflib as you have found out is not compatible with php7.  You
should be able to get phpMyAdmin to install by turning off the PDF
option.  (typing: 'make config' in ${PORTSDIR}/databases/phpmyadmin is
one way to do that.)

In fact, all that option setting does is tell the packaging system that
PMA does or doesn't depend on the PDF modules used by PHP.  You get
exactly the same content for the PMA application either way and it will
autodetect the lack of a PDF module and adjust accordingly.  Without PDF
support you can't export your DB schema as a nicely formatted PDF
document.  AFAIR that's pretty much all the effect of not having it.

	Cheers,

	Matthew




--MUqvEjNo1et7p5rCnjcmhojVtAxTDOrpJ--

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

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQJ8BAEBCgBmBQJXGOq3XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw
MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnYzUP+QGdAbTNLqY8edxDID0p50oO
1cGzd27+jKTq1rlcc+sYLL5/1zXgPGhSPdNLWLYGZysYAs2tW8ORG0ANaylr7KEZ
08A5tMIDOhF9VL6cte5ZDBeEfpXdWT31ykILaZAWv2hq8H2MY6gpaM2DkHjpeO8w
HxeL7fG8sfOCrcEgGwT1lb/d4cy8B4ocQz79uKAsJG1ETI5BZ5YJmLbhd5hwOwwy
bP0xqDSsr+u9kP3/dn4HutGMj6FHSmMy84Dml72e8jotvIquIUOmrP8YzABhriMG
DtxWFvixqqoXjsZ8mKgSel9vd3vOioOa6FlBv8cfWgabDYi5q2RjyxIodNNRzfnJ
aspS8mh4fVl3VlYMTlE29CoGFreGhGcQSpyIuf9i6hKl5C1JqQiM9hXRJHJcNmjA
YitS5o+uw5/iozp9BX+QvkjNnu5KHW7ERRkJMkk+saR9NE2XYpzKrkIGMv/3igV0
y1L1mG0ZL4aTLK9K2mJAmCLN4RL6TSDsWvM3HZ0kRVgO3ut1i8TxYrjY0B92YlTP
1wNRV+yIzZxOqlUUjXvxbMmecysvR+SkM6bM522G9ciNjKkV5nTH07ddtHsBE4br
e5LE8oV1hYhzLwhndrpV2syUaThTnfQLjOPpiPjJatu9HbKoh4ZgdDIa7Ljn1bDC
xVAn3Wb53CuqARElaxmW
=8gxN
-----END PGP SIGNATURE-----

--FOsW7Xddnde9G1DMttH7WQjsir7XTEJEK--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5718EAAF.5050604>