From owner-freebsd-questions@freebsd.org Tue Jul 3 20:53:56 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF5D710264E0 for ; Tue, 3 Jul 2018 20:53:56 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (mail.geeks.org [IPv6:2001:4980:3333:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CA6A97DB8 for ; Tue, 3 Jul 2018 20:53:56 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (localhost [127.0.0.1]) by after-clamsmtpd.geeks.org (Postfix) with ESMTP id EDCF911020B; Tue, 3 Jul 2018 15:53:48 -0500 (CDT) Received: by mail.geeks.org (Postfix, from userid 1003) id C560C11020A; Tue, 3 Jul 2018 15:53:48 -0500 (CDT) Date: Tue, 3 Jul 2018 15:53:48 -0500 From: Doug McIntyre To: The Doctor Cc: freebsd-questions@freebsd.org Subject: Re: PHP 7.2 question Message-ID: <20180703205348.GA66335@geeks.org> References: <20180703013828.GA12913@doctor.nl2k.ab.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180703013828.GA12913@doctor.nl2k.ab.ca> User-Agent: Mutt/1.9.4 (2018-02-28) X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2018 20:53:56 -0000 On Mon, Jul 02, 2018 at 07:38:28PM -0600, The Doctor wrote: > The only issue is the PHP 7.2 . > > I compiled most of the modules for Apache 2.4.33 and php-7.2 then compiled > mod_php7.2 after all the databases were compiled. > > the mod php is not picking up the databse modules yes php -i and php -m > indicted they are present. Which database modules? It shows mysqli? MysqlI Support => enabled Client API library version => mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $ One major change with PHP7.x systems is the mysql module is deprecated and gone. A great # of old PHP software depends on this, and all of them need updates to use the proper API, mysqli now. There are a small handful of other modules that are deprecated with PHP7.0 and PHP7.2, but if something expects mysql vs. mysqli, then it is just too old to run on PHP7.x anyway and needs to be updated.