PDA

View Full Version : add DBX to php5



mrphelps
July 24th, 2006, 04:57 PM
I am attempting to install a script that uses the DBX module/extension for PHP. Apparently this is no longer standard in newer versions of PHP. How would I go about installing it on my server (Ubuntu 6.06 'Server' w/ LAMP)?

Here is the code from the db connection config:


<?
class masterconfig {
function dbconnect(){
//type or adjust the "return dbx_connect ...." to match the pattern below
// return dbx_connect(DBX_MYSQL,"<DB server address>","<name of database space, default is zci>","<DB username, default is zci>","<DB password, default is zci>");
// default example :
return dbx_connect(DBX_MYSQL,"localhost","db","user","pw");

}
}
?>

Here is a copy of my phpinfo page http://myifdn.com/tmp/phpinfo.htm

Any help would be greatly appreciated:mrgreen: .

stormchas3r
December 8th, 2006, 04:40 PM
I am having the same problem trying to get zci working correctly. Have you solved it yet? I totally hosed my system trying to get dbx installed.

Please let me know,

Storm

folksilva
March 31st, 2010, 06:07 PM
Follow this link:
http://thinktube.wordpress.com/2009/03/24/dbx/

dajhorn
July 16th, 2010, 07:26 PM
I've packaged php-dbx for Ubuntu 10.04 Lucid here:


https://launchpad.net/~dajhorn/+archive/pecl

This is the ZCI dependency that is missing from Ubuntu.