Loading...
 

HowtoUseExternalPear

edit db/tiki-db.php to use external adodb libs like this:

TikiInit::prependIncludePath('/usr/lib/php/PEAR');

you also need to edit lib/tikilib.php, cause we have require_once('Date.php') in lib/tikidate.php as well. Comment out that line:

//require_once ('lib/pear/Date.php');


double check your php_admin_value open_basedir to include /usr/lib/php/PEAR in your vhost settings or php.ini or htaccess depending on your configuration

php_admin_value open_basedir /var/www/tiki19:/tmp:/usr/lib/php/PEAR:/usr/lib/php

Note: Date.php maybe installed in a different location than PEAR base, so double-check open_basedir or copy the file to your liking.

Note: tiki-install.php also depends on pear so use this after working install, or modify tiki-install.php appropriately


Page last modified on Monday 21 June 2010 00:09:58 GMT-0000