diff --git a/develop/php/php.conf b/develop/php/php.conf index d9d30f5eb..ec49d416c 100644 --- a/develop/php/php.conf +++ b/develop/php/php.conf @@ -49,14 +49,13 @@ if pkginstalled mysql; then if [ $? -eq 0 -o "$SDECFG_PKG_PHP_FORCESHARED" = 1 ]; then pkg_php_shared="=$root/$( pkgprefix mysql )" - var_append CC_WRAPPER_APPEND ' ' "-Wl,--rpath $( pkgprefix libdir mysql )/mysql" + var_append CC_WRAPPER_APPEND ' ' "-Wl,--rpath $( pkgprefix libdir mysql )" else pkg_php_shared= fi var_append extraconfopt " " "--with-mysql$pkg_php_shared" - var_append extraconfopt " " "--enable-mysqli" - var_append extraconfopt " " "--with-mysqli=$( pkgprefix bindir mysql )/mysql_config" + var_append extraconfopt " " "--with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd" fi if pkginstalled postgresql; then