Thank you in advance for your reply ... I read another Stakeoverflow article, but still could not solve the problem.
Purpose: Deploy wordpress 3.5.1 after the GAE PHP tutorial. Successfully completed the PHP helloworld tutorial.
Error found: loading localhost: 8080 message "Your PHP installation does not seem to have the MySQL extension that WordPress requires"
Support Request: 1. I wonder how to solve this problem? Any recommendations regarding a possible debugging path? 2. How is the php.ini file in APPLICATION_DIRECTORY different from the php.ini file created in the root folder of PHP.exe? (BTW from the experiment, if you do not create php.ini in the root folder of php.exe, then phpinfo () will not show the loaded configuration file)
Debugging results: I carefully read the GAE tutorial and created php.ini (with one line "google_app_engine.enable_functions =" php_sapi_name, gc_enabled ")
Test
3 confirmed that the mysql PHP extension is enabled and installed via php.ini located in the root folder of php.exe 1) phpinfo () 2) php.exe -m 3) Running a test connection when connecting the script to mysql local "confirms the ability to write to wordpress_db using GAE
The error message "Your PHP installation does not appear to contain the MySQL extension that WordPress requires" was identified from the Wordpress function wp-load.php file "wp_check_php_mysql_versions ();" which comes from wordpress \ wp-includes \ load.php
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.' ) ); } }
source share