coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: carrjam1981 on November 28, 2005, 12:48:46 AM

Title: PHP does not have MySQL support enabled.
Post by: carrjam1981 on November 28, 2005, 12:48:46 AM
During the installation he appears to me this

PHP does not have MySQL support enabled.  ???????????


Zanks
Title: Re: PHP does not have MySQL support enabled.
Post by: Tranz on November 28, 2005, 01:05:18 AM
Does PHP have mysql support enabled? If you don't know, you have to ask your webhost.
Title: Re: PHP does not have MySQL support enabled.
Post by: DJMaze on November 28, 2005, 01:29:43 AM
1. Downgrade to PHP 4.3.10 or 4.4.x

2. Fix the php.ini of PHP 5.x
Title: Re: PHP does not have MySQL support enabled.
Post by: Nibbler on November 28, 2005, 01:32:51 AM
It's not a PHP5 issue, you just need to enable mysql support.
Title: Re: PHP does not have MySQL support enabled.
Post by: DJMaze on November 28, 2005, 04:42:20 AM
php4.ini
Quote
;Note that MySQL and ODBC support is now built in, so no dll is needed for it.

php5.ini
Quote
;extension=php_mysql.dll or .so
;extension=php_mysqli.dll or .so

I could be wrong though and someone messed with the compiler on POSIX (linux, unix, etc.) to exclude mysql
Title: Re: PHP does not have MySQL support enabled.
Post by: Joachim Müller on November 28, 2005, 06:56:11 AM
@carrjam1981: if this doesn't mean anything to you, do as TranzNDance suggested in the first place: ask your webhost for support - find out if you actually have mySQL (minimum requirement for coppermine). If you don't have it, you can't use coppermine, sorry.
Title: Re: PHP does not have MySQL support enabled.
Post by: donnoman on November 28, 2005, 07:39:18 AM
just a quick reminder and FYI, Coppermine uses the traditional php_mysql.dll or so, it does NOT use php_mysqlI.  It doesn't hurt if php_mysqli is loaded, but it doesn't help either.