Em 07-01-2016 00:46, Mikel Rychliski escreveu:
> Hello,
>
> While building PHP for BLFS, I noticed that one of the "Command
> Explanations" is out of date. --with-mysql is referenced both on the
> page and in the php_configure.txt file.
>
> Support for the old MySQL extension was dropped in PHP 7.0, with mysqli
> or PDO recommended as replacements.
>
> Upstream commit:
> ***
> From fd1578c196575c7e120a84ee030bb87c14a199b0 Mon Sep 17 00:00:00 2001
> From: Adam Harvey
> Date: Thu, 5 Mar 2015 00:18:40 +
> Subject: [PATCH] Remove the deprecated MySQL extension.
>
> Relevant RFC:
> https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7
> ***
>
> Configuring using the "--with-mysql" switch results in an error.
>
> Thanks,
> Mikel Rychliski
>
> Index: general/prog/php.xml
> ===
> --- general/prog/php.xml (revision 16792)
> +++ general/prog/php.xml (working copy)
> @@ -350,11 +350,17 @@
>
>
>
> ---with-mysql: This option
> -includes MariaDB/MySQL support.
> +--with-mysqli=mysqlnd: This option
> +includes MariaDB/MySQL support using
> +the MySQL Native Driver.
>
>
>
> +--with-mysql-sock=/var/run/mysql: This option sets
> +the default location of the MySQL unix socket file.
> +
> +
> +
> --disable-libxml: This option
> allows building PHP without libxml2
> installed.
>
Done.
Thanks.
--
[]s,
Fernando, aka SÃsifo
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page