Re: shared mysqlnd extension ...

From: Date: Mon, 20 Aug 2012 22:51:35 +0000
Subject: Re: shared mysqlnd extension ...
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-62321@lists.php.net to get a copy of this message
Ferenc Kovacs wrote:
    Having now got mysql running on the PHP5.4.3 machine, I'm trying to compile
    mysqlnd and mysqli as extensions to load and unload as required.
    php_mysqlnd_config.h no longer exists, but why is the config file named
    config9.m4 rather than config.m4? What do I need to get these two extensions
    to build on Linux? My cuurent attempts based on google results only results
    in "Warning: PHP Startup: Invalid library (maybe not a PHP library)
    'mysqlnd.so' in Unknown on line 0" after 'make'
I would try --with-mysql=shared,mysqlnd --with-mysqli=shared,mysqlnd --enable-pdo=shared --with-pdo-mysql=shared,mysqlnd how are you doing currently? phpize in mysqlnd folder which is why config9.m4 does not work and has to be renamed, but it's calling php_mysqlnd_config.h which also does not exist.
I do not want to touch the existing core install as that is what runs all my sites, so I only need mysqlnd and mysqli as extra shared modules so I can switch them off without affecting the current working system.
why is this an internals question? Because no one answered on general :(
But since the core code base does not compile it seems internal to me anyway. -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

« previous php.internals (#62321) next »