php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66767 mysqli build problem with 5.6.0 alpha2
Submitted: 2014-02-25 10:20 UTC Modified: 2014-02-25 18:00 UTC
From: dkasyanov at cloudlinux dot com Assigned: johannes (profile)
Status: Closed Package: MySQLi related
PHP Version: 5.6.0alpha2 OS: RHEL 6 / CloudLinux 6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dkasyanov at cloudlinux dot com
New email:
PHP Version: OS:

 

 [2014-02-25 10:20 UTC] dkasyanov at cloudlinux dot com
Description:
------------
Configure string:
./configure --with-php-config=/opt/alt/php56/usr/bin/php-config --with-mysqli=shared,/usr/bin/mysql_config --with-libdir=lib64 LDFLAGS="-lm -lpthread -ldl -L/usr/lib64/mysql -lmysqlclient" CPPFLAGS="-I/usr/include/mysql"


After configure and make I get next error:
/builddir/build/BUILD/php-5.6.0alpha2/ext/mysqli/mysqli_api.c:683: error: conflicting types for 'mysqli_commit_or_rollback_libmysql'
/builddir/build/BUILD/php-5.6.0alpha2/ext/mysqli/mysqli_api.c:684: note: an argument type that has a default promotion can't match an empty parameter name list declaration
/builddir/build/BUILD/php-5.6.0alpha2/ext/mysqli/mysqli_api.c:605: note: previous implicit declaration of 'mysqli_commit_or_rollback_libmysql' was here
make: *** [mysqli_api.lo] Error 1



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-02-25 18:00 UTC] johannes@php.net
Fixed in this commit:
http://git.php.net/?p=php-src.git;a=commit;h=756ee95605ab0677bfd20e0d1f0ba1053b2075d7

Side note: We suggest building using mysqlnd by using --with-mysqli=shared without path.
 [2014-02-25 18:00 UTC] johannes@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: johannes
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 06 20:00:02 2026 UTC