[Split] Updating to php7

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Geoff_S
Registered User
Posts: 7
Joined: Tue May 31, 2016 1:44 pm

Re: Updating to php7

Post by Geoff_S » Sun Aug 20, 2017 1:41 am

WelshPaul wrote:
Sun Jun 04, 2017 9:55 am
You could try creating another file:

Code: Select all

$mysqli_connection = new MySQLi('localhost', 'user', 'pass', 'db');
if ($mysqli_connection->connect_error) {
   echo "Not connected, error: " . $mysqli_connection->connect_error;
}
else
{
   echo "Connected.";
}
Replace 'localhost', 'user', 'pass', 'db' with your database credentials and see if that file is able to connect?
I'm struggling to resolve very similar issues as the OP. Is the above file meant to be a php script or some other file ? How do I run it ?

User avatar
Mick
Support Team Member
Support Team Member
Posts: 21420
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket - definitely

Re: [Split] Updating to php7

Post by Mick » Sun Aug 20, 2017 9:36 am

You should start your own topic supplying as much information as possible by please filling out the Support Request Template and post it back in your new topic to enable us to assist you better.
"The more connected we get the more alone we become" - Kyle Broflovski

Post Reply

Return to “[3.2.x] Support Forum”