16 May
2005
16 May
'05
13:43
steve wrote:
I have a script which is looking for DB.php. I've installed PEAR (9.3, php4). What do I have to do to get apache to see the pear installation?
The PEAR installation directory must be in PHP's include path - try this: <?php echo get_include_path(); ?> It should say something like this: .:/usr/share/php If you find out that your PEAR is not included in the path, then you have to set it in php.ini: include_path = ".:/usr/share/php" (don't forget to restart apache) I'm using Suse 9.1, so the paths on your system might be different. robert