We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 43209
    • 12 Posts
    Hi.

    I have modx revolution 2.3.2-pl. My server linux has the next settings:

    Run PHP as Apache module with PHP version 5.3.3

    I tried to change to

    Run PHP as FastCGI application with PHP version 5.6.5 but modx breaks,can not login in manager.

    I thought that "SETUP" upgrade modx could fix the error.

    First, in "Upgrade Existing Install" say

    Database connection failed!
    Check the connection details and try again.

    (connection details are correct because I used my first configuration and dont have errors )

    After, in "Advanced Upgrade Install" say

    Connecting to database server:

    Could not connect to the existing database for upgrade. Check the connection properties and try again.

    changed localhost to IP and show new error.

    [2015-02-05 18:45:33] (ERROR in xPDOConnection::connect @ /core/xpdo/xpdo.class.php : 3043) SQLSTATE[HY000] [2002] No such file or directory

    can I help me?

    Thanks

    This question has been answered by mon_drez. See the first response.

    • discuss.answer
      • 43209
      • 12 Posts
      I can fix the problem.

      Only I have changed in "core/config/config.inc.php" all variables with "localhost" to my ip server n.n