Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: PHP does not have MySQL support enabled.  (Read 21707 times)

0 Members and 1 Guest are viewing this topic.

carrjam1981

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
PHP does not have MySQL support enabled.
« on: November 28, 2005, 12:48:46 am »

During the installation he appears to me this

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


Zanks
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: PHP does not have MySQL support enabled.
« Reply #1 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.
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
Re: PHP does not have MySQL support enabled.
« Reply #2 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
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

Nibbler

  • Guest
Re: PHP does not have MySQL support enabled.
« Reply #3 on: November 28, 2005, 01:32:51 am »

It's not a PHP5 issue, you just need to enable mysql support.
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
Re: PHP does not have MySQL support enabled.
« Reply #4 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
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: PHP does not have MySQL support enabled.
« Reply #5 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.
Logged

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Re: PHP does not have MySQL support enabled.
« Reply #6 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.