Wordpress site deciphering error log

3 replies
I'm trying to speed up a slow site. I put xxx's in the middle of the API numbers as I don't know what they are. I did a global search for them on the database and they didn't show up.

Code:
[20-Apr-2014 11:28:56 America/Chicago] PHP Warning:  PHP Startup: pdo_mysql: Unable to initialize module
Module compiled with module API=20xxxx13
PHP    compiled with module API=20xxxx26
These options need to match
Does anyone know what might be causing this?
#deciphering #error #error log #log #site #wordpress
  • Profile picture of the author jasonthewebmaster
    Banned
    TO help i would need to know more about what type of script your site is powered by? is this joomla, wordpress etc? the module API makes me think it's joomla but could be wrong.

    edit: sorry missed the thread subject line saying "WORDPRESS" LOL
    {{ DiscussionBoard.errors[9498201].message }}
  • Profile picture of the author jasonthewebmaster
    Banned
    seems to be an issue with the PHP configuration of your server, found this thread that might help:

    PHP Warning: PHP Startup: PDO: Unable to initialize module « zenphoto forums
    {{ DiscussionBoard.errors[9498203].message }}
  • Profile picture of the author jasonthewebmaster
    Banned
    This may be the solution, do you have php.ini file on your site?

    PHP initialization error in error_log - modules don't match

    The modules with API=20060613 come from PHP 5.2 and your PHP 5.3 is API=20090626. They are Not compatible. If those are your modules, they can not be used with PHP 5.3.

    PHP 5.3 « HostGator.com Support Portal

    If you are using a custom php.ini file that references PHP modules that are not available with PHP 5.3, your site may not work. Either remove the custom php.ini file (which will cause the server to use the default php.ini file for PHP 5.3), or create a php.ini file that is compatible with PHP 5.3.
    {{ DiscussionBoard.errors[9498260].message }}

Trending Topics