28 June 2005

adodb in freebsd

There is already a port for adodb in freebsd. As root
root > cd /usr/ports
root > make search key=adodb
root > cd /usr/ports/databases/adodb
root > make install clean
root > vim /usr/local/etc/php.ini

add a line in php.ini
include_path = "/usr/local/share/adodb


Now you can call adodb api without include/require in php code :)
Oops.. you still need:
require '/usr/local/share/adodb/adodb.inc.php'
Post a Comment