ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Slava Dubrovskiy <slava@tangramltd.com>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] php5 and mysqlnd
Date: Tue, 08 Feb 2011 22:20:00 +0200
Message-ID: <4D51A570.9030101@tangramltd.com> (raw)
In-Reply-To: <4D519983.5020809@rattler.kiev.ua>

[-- Attachment #1: Type: text/plain, Size: 2422 bytes --]

08.02.2011 21:29, Michael Bochkaryov пишет:
> Мне малость знания autotools не хватает, чтобы правильно сделать.
> Вроде бы нужно прибить гвоздями PHP_MYSQLND_ENABLED=yes в configure.
>
> Можно, конечно, при сборке php включить --with=mysql=mysqlnd,
> после чего не паковать его, но получить уже живой mysqlnd.
  if test "$PHP_MYSQLI" = "mysqlnd";
then                                                                                                                                                                     

    PHP_ADD_EXTENSION_DEP(mysqli,
mysqlnd)                                                                                                                                                                    

    AC_DEFINE([MYSQLI_USE_MYSQLND], 1, [Whether mysqlnd is
enabled])                                                                                                                                          

 
fi                                                                                                                                                                                                          


Но там мне кажется немного сложнее. mysqlnd используется ВМЕСТО mysqli
Вот что написано в ext/mysqli/config.m4

PHP_ARG_WITH(mysqli, for MySQLi
support,                                                                                                                                                                      

[  --with-mysqli[=FILE]    Include MySQLi support.  FILE is the
path                                                                                                                                          

                          to mysql_config.  If mysqlnd is passed as
FILE,                                                                                                                                     

                          the MySQL native driver will be used
[mysql_config]])                                                                                                                               


Т.е. я думаю нужно его собирать одновременно с mysqli

-- 
WBR,
Dubrovskiy Vyacheslav


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5525 bytes --]

  reply	other threads:[~2011-02-08 20:20 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-07 16:55 Michael Bochkaryov
2011-02-07 17:05 ` Anton Farygin
2011-02-07 17:07   ` Michael Bochkaryov
2011-02-07 17:10     ` Anton Farygin
2011-02-07 22:08       ` Michael Bochkaryov
2011-02-08 12:54         ` Slava Dubrovskiy
2011-02-08 13:27           ` Michael Bochkaryov
2011-02-08 14:14             ` Anton Farygin
2011-02-08 19:29               ` Michael Bochkaryov
2011-02-08 20:20                 ` Slava Dubrovskiy [this message]
2011-02-08 20:52                   ` Michael Bochkaryov
2011-02-08 20:50                 ` Slava Dubrovskiy
2011-02-09  8:36               ` Michael Bochkaryov
2011-02-09  8:42                 ` Anton Farygin
2011-02-09 10:08                   ` Michael Bochkaryov
2011-02-09 11:55                     ` Sergey Kurakin
2011-02-09 12:15                       ` Michael Bochkaryov
2011-02-09 13:17                         ` Anton Farygin
2011-02-09 16:04                           ` Michael Bochkaryov
2011-02-13 13:58                           ` Michael Bochkaryov
2011-02-13 16:08                             ` Anton Farygin
2011-02-13 22:41                               ` Michael Bochkaryov
2011-02-13 22:56                                 ` Anton Farygin
2011-02-14  0:16                                   ` Денис Смирнов
2011-02-14  8:18                                     ` Slava Dubrovskiy
2011-02-14 10:03                                       ` Anton Farygin
2011-02-14 11:56                                         ` Sergey Kurakin
2011-02-14 11:45                                       ` Michael Bochkaryov
2011-02-14 11:53                                     ` Michael Bochkaryov
2011-02-14 12:02                                       ` Sergey Kurakin
2011-02-14 12:05                                       ` Денис Смирнов
2011-02-14 12:39                                         ` Anton Farygin
2011-02-14 15:05                                           ` Michael Bochkaryov
2011-02-14 17:15                                             ` Anton Farygin
2011-02-15  7:24                                               ` Michael Bochkaryov
2011-02-15  8:33                                                 ` Anton Farygin
2011-02-19 13:38                                                   ` Michael Bochkaryov
2011-02-19 15:02                                                     ` Anton Farygin
2011-02-07 17:20     ` Slava Dubrovskiy
2011-02-07 18:10       ` Anton Farygin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D51A570.9030101@tangramltd.com \
    --to=slava@tangramltd.com \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git