Upgrade to PHP 5.3 crashed amember

Discussion in 'Troubleshooting' started by blinkpub, Feb 10, 2014.

  1. blinkpub

    blinkpub New Member

    Joined:
    Apr 17, 2012
    Messages:
    8
    Hey,

    I just upgraded my server to PHP 5.3 and how Amember appears to have crashed. I am getting this message all over my website.

    "Script Error
    Error establishing a database connection. Please contact site webmaster if this error does not disappear long time "

    Any help would be greatly apprecaited.
  2. thehpmc

    thehpmc aMember Pro Customer

    Joined:
    Aug 24, 2006
    Messages:
    901
    aMember version???
  3. blinkpub

    blinkpub New Member

    Joined:
    Apr 17, 2012
    Messages:
    8
    Release: 4.1.15
  4. blinkpub

    blinkpub New Member

    Joined:
    Apr 17, 2012
    Messages:
    8
    In the error log I am seeing this:


    [10-Feb-2014 01:42:00 America/Denver] PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module
    Module compiled with module API=20060613
    PHP compiled with module API=20090626
    These options need to match
    in Unknown on line 0
    [10-Feb-2014 01:42:00 America/Denver] PHP Warning: PHP Startup: SourceGuardian: Unable to initialize module
    Module compiled with module API=20060613
    PHP compiled with module API=20090626
    These options need to match
    in Unknown on line 0
    [10-Feb-2014 01:42:00 America/Denver] PHP Deprecated: Directive 'register_globals' is deprecated in PHP 5.3 and greater in Unknown on line 0
    [10-Feb-2014 01:42:20 America/Denver] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/magickwand.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/magickwand.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [10-Feb-2014 01:42:20 America/Denver] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [10-Feb-2014 01:42:20 America/Denver] PHP Warning: PHP Startup: PDO: Unable to initialize module
    Module compiled with module API=20060613
    PHP compiled with module API=20090626
    These options need to match
    in Unknown on line 0
    [10-Feb-2014 01:42:20 America/Denver] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
    Module compiled with module API=20060613
    PHP compiled with module API=20090626
    These options need to match
    in Unknown on line 0
    [10-Feb-2014 01:42:20 America/Denver] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so: undefined symbol: third_arg_force_ref in Unknown on line 0
    [10-Feb-2014 01:42:20 America/Denver] PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module
    Module compiled with module API=20060613
    PHP compiled with module API=20090626
    These options need to match
    in Unknown on line 0
    [10-Feb-2014 01:42:20 America/Denver] PHP Warning: PHP Startup: SourceGuardian: Unable to initialize module
    Module compiled with module API=20060613
    PHP compiled with module API=20090626
    These options need to match
    in Unknown on line 0
    [10-Feb-2014 01:42:20 America/Denver] PHP Deprecated: Directive 'register_globals' is deprecated in PHP 5.3 and greater in Unknown on line 0
    [10-Feb-2014 01:42:20 America/Denver] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/magickwand.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/magickwand.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [10-Feb-2014 01:42:20 America/Denver] PHP Warning:
  5. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,274
    As you can see from log, this error has nothing to do with aMember. You get this error because you have upgraded php but haven't upgraded PHP modules(pdo_mysql) for example.
    You have to upgrade all php modules too.

Share This Page