• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Application vault mysql_connect error

B

BuGoFf

Guest
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
 
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
 
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
 
Back
Top