Jump to content

PHP 7.0.2 - mySQL connection problems


Recommended Posts


After switching from PHP 5.6 to PHP 7.0.2 i get a mysql connection error with v3.2.1 ? After switching back to php 5.6 all went good again?

What can i do and why i get this error, nothing has changed with mysql data only the php version?

ERROR from debug.log:

Feb 09 00:01:10 +0100 OX-56b91e36b73ae [  warning]  is_readable(): open_basedir restriction in effect. File(/opt/plesk/php/5.6/share/pear/MDB2/Driver/Extended/mysql.php) is not within the allowed path(s): (/var/www/vhosts/domain.tld/:/tmp/)

Where can i edit the path in config files because my php.ini is right need only to change somehow the saved path in config from revive.

EDIT: I work with Plesk where mySQL ist the Server, why i cant reinstall it with mySQL? I only can use Postgres?


Edited by omexlu
Link to comment
Share on other sites

  • Erik Geurts featured and pinned this topic
  • 7 months later...
  • Erik Geurts unfeatured, unpinned and locked this topic
This topic is now closed to further replies.

  • Create New...