Jump to content

mgaman

New Members
  • Posts

    2
  • Joined

  • Last visited

mgaman's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I'm using PHP V7.0 on the physical machine and V8.1 on the virtual machines, so you have hit on the reason. Thanks for the response.
  2. Take , for example, a case of mysqli_connect with incorrect paramaters. On a physical machine it returns FALSE and go you to mysqli_connect_error for details. The same code on a virtual machine throws an exception. Try the following in both environments <?php // fill in your values $link = mysqli_connect($dbhost, $dbusername, $dbpassword,$dbname); if ($link->connect_error) { die('not connected: '.mysqli_connect_error()); } I cannot be the first to trip up on this yet cannot find any discussions/documentation. Any insight anyone?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.