Hi,
until some months ago my 2 sites run on PHP 5.6 and in HTTP environment. I had no issue this time.
Then I migrated to HTTPS (still staying on PHP 5.6) and had the first trouble to connect to the database. I was able to solve that issue by leaving the "_mmServerScripts" folder in HTTP instead of forcing it to HTTPS in my redirect script and setting the site URL back to http://www.mysite.com instead of https://etc. in the DW "Manage site" panel. In that way, both of the 2 sites were able to connect correctly to the MySQL database.
Recently, I got the New Mysqli Server Behavior by Webassist and then made all the necessary changing from MySQL to MySQLi. (in the connections and in all the queries). When I finished I switched on my server from the original PHP 5.6 to PHP 7.0.
It seemed everything was OK, but when I tried to connect to the database I've realized, that DW Mysqli Server Behavior in the new PHP 7.0 environment did not connect anymore. The connection settings were correct: if I create a page with a query manually using OOP and the same connection, the page will open fine on a browser, - just the Mysqli Server Behavior panel or DW, does not recognize the connection probably because of some conflicts.
Meantime I got a new domain that is still an HTTP site (not https) but running on PHP 7.0 version. Here, I have no problem to connect to the database.
I have the same results in both of DW CS6 and DW 2018 (here obviously I have selected PHP 7.1)
So, I just can't figure out why DW or Mysqli Server Behavior cannot connect to the database if the site is an HTTPS site and the PHP version is 7.0 (or higher)
Please, can someone help me how to fix that?
Thanks in advance