嵌入式LINUX系统开发教程pdf下载
首先
git clone https://github.com/php/pecl-database-mysql mysql --recursive
git clone https://github.com/php/pecl-database-mysql mysql --recursive
phpize./configuremakemake install
以mac的xampp为例的安装MacBook-Air:Desktop miyingshuai$ git clone https://github.com/php/pecl-database-mysql mysql --recursiveCloning into 'mysql'...remote: Counting objects: 134, done.remote: Compressing objects: 100% (4/4), done.remote: Total 134 (delta 0), reused 0 (delta 0), pack-reused 130Receiving objects: 100% (134/134), 108.87 KiB | 38.00 KiB/s, done.Resolving deltas: 100% (52/52), done.Checking connectivity... done.MacBook-Air:Desktop miyingshuai$ cd mysql/MacBook-Air:mysql miyingshuai$ lsCREDITS config.w32 php_mysql.cLICENSE mysql.mak php_mysql.hREADME.md mysql_mysqlnd.h php_mysql_structs.hconfig.m4 package.xml testsMacBook-Air:mysql miyingshuai$ phpizeConfiguring for:PHP Api Version: 20151012Zend Module Api No: 20151012Zend Extension Api No: 320151012MacBook-Air:mysql miyingshuai$ ./configure --with-php-config=/Applications/xampp/xamppfiles/bin/php-config-7.0.3checking for grep that handles long lines and -e... /usr/bin/grepchecking for egrep... /usr/bin/grep -Echecking for a sed that does not truncate output... /usr/bin/sedchecking for cc... ccchecking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables... checking whether we are cross compiling... nochecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether cc accepts -g... yeschecking for cc option to accept ISO C89... none neededchecking how to run the C preprocessor... cc -Echecking for icc... nochecking for suncc... nochecking whether cc understands -c and -o together... yeschecking for system library directory... libchecking if compiler supports -R... nochecking if compiler supports -Wl,-rpath,... yeschecking build system type... x86_64-apple-darwin15.2.0checking host system type... x86_64-apple-darwin15.2.0checking target system type... x86_64-apple-darwin15.2.0checking for PHP prefix... /Applications/XAMPP/xamppfileschecking for PHP includes... -I/Applications/XAMPP/xamppfiles/include/php -I/Applications/XAMPP/xamppfiles/include/php/main -I/Applications/XAMPP/xamppfiles/include/php/TSRM -I/Applications/XAMPP/xamppfiles/include/php/Zend -I/Applications/XAMPP/xamppfiles/include/php/ext -I/Applications/XAMPP/xamppfiles/include/php/ext/date/libchecking for PHP extension directory... /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20151012checking for PHP installed headers prefix... /Applications/XAMPP/xamppfiles/include/phpchecking if debug is enabled... nochecking if zts is enabled... nochecking for re2c... noconfigure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.checking for gawk... nochecking for nawk... nochecking for awk... awkchecking if awk is broken... nochecking for MySQL support... yes, sharedchecking for specified location of the MySQL UNIX socket... nochecking for the location of libz... nochecking for MySQL UNIX socket location... nochecking for ld used by cc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ldchecking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... nochecking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -rchecking for BSD-compatible nm... /usr/bin/nmchecking whether ln -s works... yeschecking how to recognize dependent libraries... pass_allchecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yes谷谷点程序 » linux下php7安装mysql扩展