Mailinglist Archive: opensuse-bugs (4036 mails)

< Previous Next >
[Bug 661464] MySQL-5.5.7 with PHP-5.3.4 - phpMyAdmin-3.3.8 is missing native PHP extension MySQLnd

https://bugzilla.novell.com/show_bug.cgi?id=661464

https://bugzilla.novell.com/show_bug.cgi?id=661464#c19


--- Comment #19 from Paolo Panto <munix9@xxxxxxxxxxxxxx> 2011-01-10 17:56:25
UTC ---

Hi,

a possible solution to build mysql modules as shared extensions with mysqlnd
enabled could be to set the environment variable PHP_MYSQLND_ENABLED=yes while
running php's configure script.

based on the current php5.spec this means:

- add export PHP_MYSQLND_ENABLED=yes just before Build() (see below)
- leave mysql* options as shared definitions
--with-mysql=shared,%{_usr}
--with-mysqli=shared
--with-pdo-mysql=shared,%{_usr}


--- php5.spec 2011-01-10 18:33:10.172128729 +0100
+++ php5.spec 2011-01-10 17:39:36.146886558 +0100
@@ -1287,6 +1287,7 @@
# where to install extensions
EXTENSION_DIR=%{extension_dir}
export EXTENSION_DIR
+export PHP_MYSQLND_ENABLED=yes
# build function
Build()
{


I've tested this on my local dev-system and it seems to work [openSUSE 11.3
(x86_64)].

Ciao,
Paolo

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >