Bug #68759 [Opn->Nab]: Cannot build PHP with mysqlnd

From: Date: Fri, 09 Jan 2015 07:17:41 +0000
Subject: Bug #68759 [Opn->Nab]: Cannot build PHP with mysqlnd
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-189822@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68759&edit=1

 ID:                 68759
 Updated by:         krakjoe@php.net
 Reported by:        crodriguespt96 at gmail dot com
 Summary:            Cannot build PHP with mysqlnd
-Status:             Open
+Status:             Not a bug
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Windows 7 Ultimate
 PHP Version:        5.6.4
 Block user comment: N
 Private report:     N

 New Comment:

You must use --with-mysql=mysqlnd, or else the configure switch will attempt to find the shared
library for the mysql client on the system, in short, mysqlnd is not the default.


Previous Comments:
------------------------------------------------------------------------
[2015-01-06 13:28:27] crodriguespt96 at gmail dot com

Description:
------------
When compiling php 5.6.4 from source on Windows(seven ultimate SP1), I'm getting several
"unresolved external symbol" errors related to _mysql* functions.

Here's the compile params I used:
--disable-all --disable-cli --disable-cgi --enable-embed=shared --disable-zts --with-sqlite3
--enable-pdo --with-pdo-mysql --enable-sockets --with-pdo-sqlite --with-mysqli --with-mysql
--enable-mbstring

--- Image
https://i.imgur.com/KcPmADR.png

-- System information(Just to let you know)
Windows 7 Ultimate SP1 x64(using x86 source package)
Visual Studio 2013 -> compiler

-- Objective of the PHP build:
Integrate it into an shared library(embed).


Could you take a look into the issue, and tell me what am I doing wrong?
Thanks.



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=68759&edit=1


Thread (2 messages)

« previous php.bugs (#189822) next »