From owner-freebsd-questions@freebsd.org Sat Aug 6 20:50:25 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E914DBB1621 for ; Sat, 6 Aug 2016 20:50:25 +0000 (UTC) (envelope-from wodfer@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 763371E00 for ; Sat, 6 Aug 2016 20:50:25 +0000 (UTC) (envelope-from wodfer@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id o80so80117869wme.1 for ; Sat, 06 Aug 2016 13:50:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=XZeP8bgFGwn87hiW9y1etuOTNXpB8TcFiZmBvahGDCk=; b=iSaZQ3cxTvHRrBmT9hXYh8O8eFL0ey+UcAuh8bTKR2npw5Z1tta7QO5E7IzQx6LfHD 3u/Il2U0QJwadyswdbF4w/+KEW39Esg0pzlRxKkyXpcEaYjLwkHHWo2Edc5zBdnqnHOf mGZ+k2T49CIWWJQ0U4Q+nlQZ8efWKblp1XFMAEBhJ8DlCuQLN/E9ONv0oqKlRs6cdjSs CMestAkHKv8wigqgXcRflxh3zdmDOwOwipY/g8uDkONLPjhZeVJyegnyyHPRXYAYVoxK vTPfxxQyA7YZAgejbA0gnNK9TOy/UKIZaOPWQTBUkR0q4h09vBdVxHOELakQ0WMWtnjc SGNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=XZeP8bgFGwn87hiW9y1etuOTNXpB8TcFiZmBvahGDCk=; b=ZtrzM00ZU5KgoxDZqD1Iu/AxAGl1qdIGRZoXhAhZRx/lJHPX1z8Uv/XZ8h25Rb8BZc ksJFJJpfEN60T+ldaZZ5L1WKOgvCymuXcZso/MhcZ+l8GDyRwZ+aful6+mE76VPPxb1g K7xrWdcQEgADXh+ya8ANloZu7R5cHgTYMVKlyv8sjiP90uo09XWKHoayZNV2PR66CTaT iUcD2uuPyuY8MMUkWxY7RIy4BaF87bw7/BbzJD8UKOg6mTgg5ql0AkDqJPFbtfCcALaG lbdQ9/TZuGxtWOSmlNZjHSAax1ZGNeUpkPmpke5MIoEG0XSOY0P64C/amHZ6RBW6RxJx 6kkQ== X-Gm-Message-State: AEkoouuF6WslmisF2IoZm+0cYc5l1ABjj6dkT1DbYDsdHbqxctgrqbVvbrDvc+QRvYp/Jdo9/1IVs7PZEONVgw== X-Received: by 10.28.232.149 with SMTP id f21mr8484901wmi.51.1470516623615; Sat, 06 Aug 2016 13:50:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.165.150 with HTTP; Sat, 6 Aug 2016 13:50:22 -0700 (PDT) In-Reply-To: References: <20160421171200.GA967@SeanLaptop> From: Andy Wodfer Date: Sat, 6 Aug 2016 22:50:22 +0200 Message-ID: Subject: Re: php7 and pecl-pdflib fails To: freebsd-questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Aug 2016 20:50:26 -0000 Anyone? How can we have PDF support under PHP7? Is there another way I can get this working without using the broken php7-extension PDF? Thanks, Andy On Thu, Aug 4, 2016 at 9:48 AM, Andy Wodfer wrote: > 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 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 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/pd >>> f.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 >>> >> >> >