On Monday 16 May 2005 15:43, Robert Manfreda wrote:
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
Mine says this: ; UNIX: "/path1:/path2" ;include_path = ".:/php/includes" Both lines are commentred out. Do I change the existing line or add another include_path line? Cheers, Steve.