Member
Member
zenzational   2026-11-06, 17:52
#1

I don't think my problem is a Zenphoto one but I'll ask here anyway.

I have installed WAMP64 and placed the zenphoto folders in the relevant folder. When I browse to the site the zenphoto setup routine runs as expected but even before I enter any db credentials that section of the setup page reports:
MySQLi reported: MySQLi not connected

My searching on this error has not yet found anything that helps me. Is there anyone here that can point me in the direction of a fix?

Thanks.

Administrator
Administrator
acrylian   2026-11-06, 18:04
#2

If you get such an error on the general systems check that generally means the MySQLi database handler on your local server is not properly setup or not loaded. Is PDO listed? If you can also use that.

Otherwise you could check the php.ini of the php version WAMP if it is maybe not actively loaded.

Member
Member
zenzational   2026-11-06, 18:54
#3

generally means the MySQLi database handler on your local server is not properly setup or not loaded
Thanks, yes, that's what I suspected, it's not a Zenphoto error, the problem is with my WAMP server. It's knowing which of the myriad of settings in WAMP that I need to poke that eludes me.

Selecting pdo in the dropdown on the Zenphoto setup page makes no difference, the error just changes to pdo_mysql not connected.

I'll leave this for now and come back to it another day.

This post was last modified: 2026-11-06, 18:54 by zenzational.
Administrator
Administrator
acrylian   2026-11-06, 20:41
#4

I would assume that WAMP is setup with everynthing like MAMP which I use is. Place a file info.php with a php call for phpinfo(). Then access it via the local server path in the browser. It lists all php extensions. If neither mysqli nor pdo is listed it is simply not installed and/or active.

This post was last modified: 2026-11-06, 20:43 by acrylian.
Member
Member
zenzational   2026-11-06, 21:44
#5

It seems odd to me (a complete novice) that the default installation of WAMP should not install / activate mysqli / pdo. They appear to be fairly fundamental components.

Administrator
Administrator
acrylian   2026-11-07, 11:27
#6

Yes, indeed.

Member
Member
zenzational   2026-11-10, 16:30
#7

I must be making a mistake somewhere because having tried Wamp alternatives (Laragon and MAMP for Windows) I get the same 'MySQLi not connected' in every case. That's a big enough hint for me to realise this task is beyond my skill set so I'm not going to pursue this any further.

Administrator
Administrator
acrylian   2026-11-10, 17:15
#8

Don't give up too fast! One last thing to check I just though of: What ports have you set for MySQL on the WAMP settings (There is a MAMP for WIndows?). Did you enter the right one on the database form. MAMP for example sets different port also for the webserver. For the webserver we do expect the standard port 80 and for MySQL you can actually set it on setup but if you forgot so we assume the standard port 3306.

Member
Member
zenzational   2026-11-10, 17:29
#9

Wamp and Laragon both use the std ports, Apache on 80, MySQL on 3306. I did notice, and acted accordingly, that MAMP (yes, there is a Windows version) uses different ports.

Perhaps I am giving up too soon, but I know my limitations and, for now, I'm at that limit.

Thanks for your comments though.

Administrator
Administrator
acrylian   2026-11-10, 18:24
#10

It must be a minor detail somewhere. Actually these WAMP/MAMP packages are fairly complete (although we have our issues with MAMP every now and then as well). Sadly I don't know WAMP. Did you try to ask on a WAMP support channel? Maybe that is a know issue even?

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.