Go Back   HostGator Peer Support Forums > HostGator Peer Support Forums > Linux VPS Support

Notices

Reply
 
Thread Tools
  #1  
Old 11-10-2009, 04:33 PM
rec9140 rec9140 is offline
Junior Croc
 
Join Date: Jun 2007
Posts: 137
Positive PEAR MDB2 and mysqli

OK... I am looking to try use something that uses mysqli v. mysql PEAR module.

MDB2 is installed, but.... this is where the adventure begins...

According to the list:

Code:
MDB2  2.5.0b2  2.4.1
Ok. its says its version 2.5.0b2, but its description say 2.4.1...

mysqli says it needs. . PEAR Package: MDB2 2.5.0b2 or newer

Code:
fccdata@fccdata.com [~]# pear search mysqli
Retrieving data...0%
Matched packages, channel pear.php.net:
=======================================
Package            Stable/(Latest) Local
MDB2_Driver_mysqli 1.5.0b2 (beta)        mysqli MDB2 driver
fccdata@fccdata.com [~]# pear install MDB2_Driver_mysqli
pear/MDB2_Driver_mysqli requires PHP extension "mysqli"
No valid packages found
install failed
fccdata@fccdata.com [~]#
Trying to do the mysqli module install from both WHM | Module Installers and in the domain account that needs it:

Code:
pear/MDB2_Driver_mysqli requires PHP extension "mysqli"
No valid packages found
install failed
/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin
Update MDB2... No update to install.

Code:
fccdata@fccdata.com [~]# pear search MDB2
Retrieving data...0%
....50%....Matched packages, channel pear.php.net:
=======================================
Package                             Stable/(Latest) Local
MDB2                                2.5.0b2 (beta)  2.4.1 database abstraction layer
MDB2_Driver_fbsql                   0.2.0 (alpha)         fbsql MDB2 driver
MDB2_Driver_ibase                   1.5.0b2 (beta)        ibase MDB2 driver
MDB2_Driver_mssql                   1.3.0b2 (beta)        mssql MDB2 driver
MDB2_Driver_mysql                   1.5.0b2 (beta)  1.4.1 mysql MDB2 driver
MDB2_Driver_mysqli                  1.5.0b2 (beta)        mysqli MDB2 driver
MDB2_Driver_oci8                    1.5.0b2 (beta)        oci8 MDB2 driver
MDB2_Driver_pgsql                   1.5.0b2 (beta)        pgsql MDB2 driver
MDB2_Driver_querysim                0.6.0 (beta)          querysim MDB2 driver
MDB2_Driver_sqlite                  1.5.0b2 (beta)        sqlite MDB2 driver
MDB2_Schema                         0.8.5 (beta)          XML based database schema manager
MDB2_TableBrowser                   0.1.1 (alpha)         Database table abstraction library
Structures_DataGrid_DataSource_MDB2 0.1.11 (beta)         DataSource driver using PEAR::MDB2 and an SQL query
fccdata@fccdata.com [~]#
fccdata@fccdata.com [~]# pear upgrade --pretend MDB2
Nothing to upgrade
fccdata@fccdata.com [~]#
I did --pretend only to see what it would do, it wont do it, regardless. Local says its 2.4.1, 2.5.0b2 is available.....



short of a pear install --force --no-deps for the mysqli module which I would rather not do, but any one installed the MDB2 mysqli module? ?
Reply With Quote
  #2  
Old 11-10-2009, 05:27 PM
GatorDaveC's Avatar
GatorDaveC GatorDaveC is offline
HostGator Staff
 
Join Date: Mar 2006
Location: Ontario, Canada
Posts: 937
Default Re: PEAR MDB2 and mysqli

I think your preferred is set to "stable". You can install beta packages by running the following command...

Code:
pear -d preferred_state=beta install MDB2
To change the default state you can use...
Code:
pear config-set preferred_state beta
Give that a try, if it doesn't work let me know.
Reply With Quote
  #3  
Old 11-11-2009, 07:19 AM
rec9140 rec9140 is offline
Junior Croc
 
Join Date: Jun 2007
Posts: 137
Default Re: PEAR MDB2 and mysqli

Quote:
Originally Posted by GatorDaveC View Post
I think your preferred is set to "stable". You can install beta packages by running the following command...

Give that a try, if it doesn't work let me know.
OK.. I'll advise as soon as I get some more "play time."

I am just missing the clue stick/boat and they nuked the "stable" mysqli driver? ? ?

Seems a little premature if your setup the way I bet many are to only pull stable.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pear brandonr Shared Hosting Support 3 08-13-2009 09:48 PM
Drupal Mysql MySQLi gooshy Shared Hosting Support 3 05-30-2008 11:30 AM
Firebird,MySQL with MySQLi Extension,PostgreSQL 7.x/8.x daabomb2002 Shared Hosting Support 6 06-24-2007 03:31 AM
PHP PEAR Support and PEAR Cache_lite Unregistered Pre-Sales Questions 1 10-23-2004 04:37 PM

All times are GMT -5. The time now is 09:47 PM.