• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Resolved php 7 and loss of mysql_ functions

tkalfaoglu

Silver Pleskian
After my recent update, I seem to have lost the use of mysql_ functions, which are apparently deleted from php 7. However, this causes errors:

# /usr/local/bin/php_management_tool move --to=plesk-php53-fastcgi --domains=xyz.com
PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /usr/local/bin/php_management_tool:204
Stack trace:
#0 /usr/local/bin/php_management_tool(188): DomainsManager->init()
#1 /usr/local/bin/php_management_tool(306): DomainsManager->__construct()
#2 {main}
thrown in /usr/local/bin/php_management_tool on line 204

How can I fix this issue? Thanks!
 
Make sure that these packages are installed:

# rpm -qa | grep mysql | grep php7
plesk-php72-mysql-7.2.5-centos7.18042710.x86_64
plesk-php71-mysql-7.1.17-centos7.18042710.x86_64
plesk-php70-mysql-7.0.30-centos7.18042711.x86_64
 
Make sure that these packages are installed:

# rpm -qa | grep mysql | grep php7
plesk-php72-mysql-7.2.5-centos7.18042710.x86_64
plesk-php71-mysql-7.1.17-centos7.18042710.x86_64
plesk-php70-mysql-7.0.30-centos7.18042711.x86_64

Many thanks -- I was missing the 72 package.. Working on installing it now..
 
Back
Top