Quantcast
Channel: Zenphoto forum
Viewing all articles
Browse latest Browse all 2917

Clar39Ishow on "Cannot use MySQLi during setup"

$
0
0

I need to make Zen Photo work with MySQLi for a migration to PHP 7.

During setup (Whether using PHP 5 or 7), Zen Photo fails during setup with the error

"MySQLi reported: Unknown MySQL server host [myHostHere]"

Setup runs perfectly fine if I leave everything identical except for selecting MySQL in the dropdown menu. Also, that same set of credentials works with phpMyAdmin no matter which version of PHP I run, which says it is using MySQLi.

*The error occurs no matter what version of PHP I use.
*Zen Photo installs and works normally if I use MySQL (and not MySQLi) under PHP 5.x (MySQL without 'i' isn't supported in PHP 7)

Is there some special way to set this up?


Viewing all articles
Browse latest Browse all 2917