skip to Main Content

Failed to parse address on mysqli_connect – CPanel

Background: Converted from EasyApache3 -> EasyApache4 (Cpanel). Went from mpm-prefork/php5.5/dso to mpm-worker/php71fpm/fastcgi. The error message is: Failed to parse address &quot;127.0.0.1:3306:3306&quot; in /home/user/conndb/conndb.php on line 2 The code is: <?php $con = mysqli_connect('127.0.0.1:3306','user','password','database'); ?> I had done a previous test…

VIEW QUESTION
Back To Top
Search