ZenphotoCMS Forum
No databases found installing Zenphoto on Centos 6.4 - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: No databases found installing Zenphoto on Centos 6.4 (/thread-10983.html)



No databases found installing Zenphoto on Centos 6.4 - lkarnis - 08-04-2013

Folks: Sorry if this has been answered somewhere (I'm a noob) but I have looked... without success

Trying to do an initial install of Zenphoto onto a CentOS 6.4 (64-bit) virtual machine. During the install I get:

PHP MySQLi support [is not installed]
PHP PDO_MySQL support [is not installed]
PHP MySQL support [is not installed]
Database setup in configuration file
Error!

No supported databases

FYI MySQLi PDO-MySQL are not available for CentOS (from the default CentOS repositories)

However, MySQL is installed and does work:

$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.1.67 Source distribution

Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

$ rpm -q mysql
mysql-5.1.67-1.el6_3.i686
$ mysql -V
mysql Ver 14.14 Distrib 5.1.67, for redhat-linux-gnu (i386) using readline 5.1
$

This worked on CentOS 5.8 but no joy on CentOS 6.3 or 6.4. Any suggestions would be greatly appreciated.

Thanks in advance

larry




No databases found installing Zenphoto on Centos 6.4 - sbillard - 09-04-2013

Quote:[b]PHP[/b] MySQLi support [is not installed]
[b]PHP[/b] PDO_MySQL support [is not installed]
[b]PHP[/b] MySQL support [is not installed]
What is apparently not installed is the [b]PHP[/b] support for these databases.




No databases found installing Zenphoto on Centos 6.4 - acrylian - 09-04-2013

MySQLiand PDO are the recommended extensions to use for MySQL access. MySQL is marked as deprecated. So you need to install the extensions yourself (sounds like you setup your server yourself).




No databases found installing Zenphoto on Centos 6.4 - lkarnis - 09-04-2013

Folks: thanks for the fast and very useful reply. Turns out that CentOS doesn't automatically install all of the RPMs needed for Zenphoto to use MySQL. I added the following packages:

php-dba
php-devel
php-bcmath
php-ldap

(# yum update php-...)

and it works. Thank you very much for your support.

Larry