• 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.

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