I've been keenly awaiting to migrate in order to utilize mpm-worker and fpm. However, ran into problems (this is the latest).
After upgrading (to a profile I had tested on another server) with mpm-worker/fpm/php7.1. I get errors with accessing my mysql database.
Failed to parse address "127.0.0.1:3306:3306" in /home/user/conndb/conndb.php on line 2
This is from a 1 line script to connect the database.
<?php
$con = mysqli_connect('127.0.0.1:3306','db_user','password','database');
?>
This worked fine in ea3 - and the same code was tested in the test server. It makes me think that the php handler is at fault. Suggestions or ideas?
After upgrading (to a profile I had tested on another server) with mpm-worker/fpm/php7.1. I get errors with accessing my mysql database.
Failed to parse address "127.0.0.1:3306:3306" in /home/user/conndb/conndb.php on line 2
This is from a 1 line script to connect the database.
<?php
$con = mysqli_connect('127.0.0.1:3306','db_user','password','database');
?>
This worked fine in ea3 - and the same code was tested in the test server. It makes me think that the php handler is at fault. Suggestions or ideas?