• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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