Page 1 of 1

[solved] Mysql not listed in Installation screen

Posted: Sun Oct 02, 2011 7:31 pm
by jbx1
Hi,

I am installing CMSMS on an Amazon EC2 AMI host (not that it should matter, but mentioning it just in case).

However, strangely enough, when I run the installer, only the Postgres 7/8 option is listed, even though on the same server I have postgres 9 and mysql 5.

(I have tried to use postgres instead but some wierder errors occurred and it seems that it is not a popular option among CMSMS users, so better not risk it).

Why isn't CMSMS listing Mysql as a possible option to choose?

I've deleted CMSMS multiple times and unzipped it again but to no avail.

Thanks.

Re: Mysql not listed in Installation screen

Posted: Sun Oct 02, 2011 7:45 pm
by calguy1000
This happens if the mysql libraries are not installed/enabled for php. The installer checks which database libraries are avaialble, and only displays that list.

create a test file with just: <?php phpinfo(); ?>

upload that, and browse to it. Then search for 'MySQL Support' ... if yo don't find it or it says 'disabled'... then fool with your host configuration.

Re: Mysql not listed in Installation screen

Posted: Sun Oct 02, 2011 8:11 pm
by jbx1
Thanks. In fact I had the php-mysql module missing. For those that encounter the same problem, you have to do:

yum install php-mysql