Loading...
 

HowtoUseExternalPear

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

Copy to clipboard
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:

Copy to clipboard
//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

Copy to clipboard
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

Upcoming Events

1)  21 Mar 2024 18:00 GMT-0000
Tiki Roundtable Meeting
2)  18 Apr 2024 18:00 GMT-0000
Tiki Roundtable Meeting
3)  16 May 2024 18:00 GMT-0000
Tiki Roundtable Meeting
4)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
8) 
Tiki birthday
9)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  21 Nov 2024 15:00 GMT-0000
Tiki Roundtable Meeting