Fatal error: Uncaught Error: Call to undefined function mysql_connect()
-
I’m trying to get WordPress going, yet getting following error while accessing website:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /X/wp-includes/wp-db.php:1580
PHP’s MySQL Native Driver:
# docker exec -it php php -i | grep mysql Configure Command => './configure' '--build=x86_64-linux-musl' '--with-config-file-path=/usr/local/etc/php' '--with-config-file-scan-dir=/usr/local/etc/php/conf.d' '--disable-cgi' '--enable-ftp' '--enable-mbstring' '--enable-mysqlnd' '--with-curl' '--with-libedit' '--with-openssl' '--with-zlib' '--with-pcre-regex=/usr' '--enable-fpm' '--with-fpm-user=www-data' '--with-fpm-group=www-data' 'build_alias=x86_64-linux-musl' mysqlnd mysqlnd => enabled Version => mysqlnd 5.0.12-dev - 20150407 - $Id: b396954eeb2d1d9ed7902b8bae237b287f21ad9e $ Loaded plugins => mysqlnd,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password,auth_plugin_sha256_password mysqlnd statistics => #
Please advise.
Thanks in advance)
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Fatal error: Uncaught Error: Call to undefined function mysql_connect()’ is closed to new replies.