|
|
php 8.3 编译configure: error: Linking mysqli against external library is no longer supported: G0 f3 w, B* F3 A. i# {0 r( f
. q$ Y& x' P9 i+ K$ \) d# \解决方法:
5 _/ w2 W% o& f9 l3 R# o修改编译参数,解决问题:./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-mysqli
2 v% Q) [- x5 o t- H. ?# I- N+ H# w0 T3 v5 J9 O; ~# b& U3 m
+--------------------------------------------------------------------+
/ F2 [: Y5 E/ ~% n4 m; g$ p| License: |
8 @+ B Y& V4 Q+ C( C| This software is subject to the PHP License, available in this |8 O8 I6 [+ X0 \! @7 t7 K
| distribution in the file LICENSE. By continuing this installation |
# e' M: r, _ |; s$ w- i, G9 D| process, you are bound by the terms of this license agreement. |
- U9 ]0 F" O- F" Y" K& g2 R| If you do not agree with the terms of this license, you must abort |
# M9 i+ O* P& a0 e% p2 R0 Q| the installation process at this point. |
- O' Z7 h+ V. T# m+ _1 ?+--------------------------------------------------------------------+- L% I0 N; F6 v3 x! B% ]$ z! D
" U# U2 S0 Z( d, W0 _Thank you for using PHP. s$ a: u# s4 k) Q1 U( h; ^
4 ^* U$ Q! T- W7 x
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
5 W/ ?8 {6 c0 E. C) Z( w+ E. E- [- V1 o4 r! i4 ?+ I
|
|