• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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