1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Application vault mysql_connect error

Discussion in 'Plesk for Linux - 8.x and Older' started by BuGoFf, Jan 14, 2008.

  1. BuGoFf

    BuGoFf Guest

    0
     
    When i tried to install an application vault i get the following error:

    Warning: Program execution failed, please check Plesk log files for details (
    Fatal error: Call to undefined function: mysql_connect() in /var/www/vhosts/mydomain.be/vault_scripts/brim/scripts/db-util.php on line 66
    ). Contact your system administrator for assistance.

    Warning: Site application installation failed:
    Fatal error: Call to undefined function: mysql_connect() in /var/www/vhosts/mydomain.be/vault_scripts/brim/scripts/db-util.php on line 66

    I'm running plesk 8.3 on debian sarge.

    PHP version 4 & 5 are installed, i checked if they both have mysql.

    Server:~# php5 -m | grep mysql
    mysql
    mysqli
    pdo_mysql

    Server:~# php -m | grep mysql
    mysql

    Server:~# php -v
    Copyright (c) 1997-2004 The PHP Group
    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

    Server:~# php5 -v
    PHP 5.1.4-swsoft.1 (cli) (built: Jul 20 2006 18:09:06)
    Copyright (c) 1997-2006 The PHP Group
    Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

    If you need more info, please ask.

    Kind Regards,
    Bram
     
  2. linearg

    linearg Guest

    0
     
    Identical Problem

    Hey,

    Im experiencing the exact same problem, and im also running Debian.

    Did you end up fixing the problem? how?

    Im wondering if anyone can help with this?

    Thanks.
    Glen
     
  3. BuGoFf

    BuGoFf Guest

    0
     
    Hi,

    The problem was solved by chmod'ing my php.ini to 644.

    was:
    -rw------- 1 root root 37719 2007-10-27 02:31 php.ini
    became:
    -rw-r--r-- 1 root root 37719 2007-10-27 02:31 php.ini

    Kind Regards,
    Bram
     
  4. linearg

    linearg Guest

    0
     
    All fixed.

    Thanks Bram.

    Its all working fine now.

    Glen.
     
Loading...