Re: PEAR setup - Linux
| From: | brian | Date: | Sun, 11 Mar 2007 05:00:31 +0000 |
| Subject: | Re: PEAR setup - Linux | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-26810@lists.php.net to get a copy of this message | ||
Robert Hartung wrote:
Hi all, I am new to PEAR and also to PHP. I have followed the MDB2 instructions. I have pear and MDB2 installed on a Fedora 6 box. The php.ini file has the following for include_path: ".:/php/includes:/usr/share/pear/" MDB2.php resides in /usr/share/pear/ but when the page is run I receive an error that MDB2 is not found. Is the php.ini file the place to place this path or should it go into my profile?Remove the trailing slash: include_path: ".:/php/includes:/usr/share/pear" To be sure your setup is good, run "pear list" on the cmd line (you might need to use the full path to pear if it's not in your path. Use "which pear" to find the binary). You should see a list of all installed packages. brian