- 积分
- 16843
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
php 8.3 编译configure: error: Linking mysqli against external library is no longer supported( \2 ^! H% f2 P' b: W: {
2 E% I+ f$ e- F% o% n
解决方法:, j+ \) ^2 A, g" b, s+ k
修改编译参数,解决问题:./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mysqli=FOO --with-iconv-dir --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --enable-fpm --enable-xml --enable-magic-quotes --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-force-cgi-redirect --enable-mysqlnd --with-pdo-mysql=mysqlnd --enable-ftp --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --with-mime-magic --with-mysqli --with-pdo-mysqli0 r/ Q/ X' q/ g% T; x. J
' H$ p0 d% u# H* }+ g
+--------------------------------------------------------------------+
7 @/ R; r( ?3 \+ s4 _| License: |
+ Q5 n$ F. x$ S! M2 Q' P0 s| This software is subject to the PHP License, available in this |4 r8 P& ?# V3 p5 ]
| distribution in the file LICENSE. By continuing this installation |8 [2 ]! w; Z4 |: t/ ?" a) {; V% ~
| process, you are bound by the terms of this license agreement. |
8 M! ?8 P4 ^) Q2 ~. C" A| If you do not agree with the terms of this license, you must abort |
0 M/ U# v, n0 M( T| the installation process at this point. |5 G$ k: {+ T1 R( h
+--------------------------------------------------------------------+5 l8 G9 n: {! @$ r- x0 Q
+ E4 q% V- n' PThank you for using PHP.+ v# u; @9 [. s2 B4 O8 M& D
E" s* d4 h9 B: ]
configure: WARNING: unrecognized options: --with-mysql, --with-iconv-dir, --with-freetype-dir, --with-jpeg-dir, --with-png-dir, --enable-magic-quotes, --enable-safe-mode, --with-curlwrappers, --enable-fastcgi, --enable-force-cgi-redirect, --with-gd, --enable-gd-native-ttf, --with-xmlrpc, --enable-zip, --with-mime-magic, --with-pdo-mysqli
: S5 n; v1 [3 k3 K) o/ ^0 y9 U5 O a) Y O0 |( d% T
|
|