[Buildroot] [PATCH 1/1] php: add --enable-mysqlnd to configure options when using mysql extensions

Ryan Coe bluemrp9 at gmail.com
Thu Sep 8 15:47:21 UTC 2016


Floris, Thomas, All,

I did build the system without my patch and was able to make everything 
work after defining the MySql socket location in my php.ini file.  I 
guess my patch can be marked rejected.  I was thrown off after looking 
at the build log.  The statement "checking whether to enable mysqlnd... 
no" from the configure step led me to think that that mysqlnd was not 
getting built.  If desired, I can submit a patch to add --with-mysql-sock.

On a side note, I am not using MySql version supplied by Buildroot.  I 
have replaced MySql with MariaDB 10.0.

On 09/07/2016 05:06 PM, Floris Bos wrote:
> On 09/08/2016 01:36 AM, Ryan Coe wrote:
>> Floris, Thomas, All,
>>
>> After applying my patch and rebuilding my system, I was still having 
>> trouble.
>> I tracked it down to needing to set mysqli.default_socket in my 
>> php.ini configuration.
>> This wasn't necessary before.  I am going to revert my patch, 
>> rebuild, and test again.
>> This might have been a false alarm.  I will report back my findings.
>
> Hmm, perhaps there needs to be an --with-mysql-sock option added to 
> set the default socket path to the right location for the buildroot 
> MySQL server.
> I tend to use TCP instead for communication, so did not notice there 
> may be something wrong with localhost through unix sockets.
>
>
> BTW did notice the MySQL server version shipped by buildroot is old 
> and EOL.
> If you are planning to use that, you might want to look at upgrading it.
>
>
> Yours sincerely,
>
> Floris Bos
>



More information about the buildroot mailing list