I installed Percona Server 5.6.12-rc60.4.393 and tried to compile PHP 5.3.26 with:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysqli --with-zlib --with-gd --enable-sockets --enable-mbstring --enable-zip --enable-sysvsem --with-curl --with-mcrypt --enable-soap --with-bz2
When I make I get:
ext/mysqli/.libs/mysqli.o: In function `php_local_infile_error':
/root/php/php-5.3.26/ext/mysqli/mysqli.c:1495: undefined reference to `client_errors'
ext/mysqli/.libs/mysqli.o: In function `php_local_infile_read':
/root/php/php-5.3.26/ext/mysqli/mysqli.c:1419: undefined reference to `client_errors'
ext/mysqli/.libs/mysqli.o: In function `php_local_infile_init':
/root/php/php-5.3.26/ext/mysqli/mysqli.c:1372: undefined reference to `client_errors'
I am using CentOS v5.