müşterimin önceden wp ile yapılmış bir sitesinde sorun çıktı.
Dosyaları alıp kendi localhost sunucumda denemek istedim fakat aldığım hata:
"Your PHP installation appears to be missing the MySQL extension which is required by WordPress."
bu hata load.php den yazdırılıyor ve bulunduğu fonksiyon:
function wp_check_php_mysql_versions() {
global $required_php_version, $wp_version;
$php_version = phpversion();
if ( version_compare( $required_php_version, $php_version, '>' ) ) {
wp_load_translations_early();
die( sprintf( __( 'Your server is running PHP version %1$s but WordPress %2$s requires at least %3$s.' ), $php_version, $wp_version, $required_php_version ) );
}
if ( ! extension_loaded( 'mysql' ) && ! file_exists( WP_CONTENT_DIR . '/db.php' ) ) {
wp_load_translations_early();
die( __( 'Your PHP installation appears to be missing the MySQL extension which is required by WordPress.' ) );
}
}Sizce sorun ne olabilir?Herhangi bir db bilgisi girmesemde bu hatayı alıyorum.