• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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