Re: Pear on Suse 9.2
| From: | Daniel Brandauer | Date: | Mon, 21 Feb 2005 23:45:36 +0000 |
| Subject: | Re: Pear on Suse 9.2 | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-17613@lists.php.net to get a copy of this message | ||
Hi,
It looks like you don't have PEAR in your include path. Try adding /path/to/php/pear/ (or wherever they put PEAR in SUSE) to the include path in php.ini (that's /etc/php/php.ini IIRC). It should look something like the following:
# replace /usr/local/php/pear with the real path to PEAR
include_path=.:/usr/local/php/pear
Hope this helps,
-Daniel
Pieter Botha wrote:
Hi, Another stupid question so plz dont shoot me again (as they did on the suse chans). I installed Suse 9.2 with pear. I installed the relevant packages I want to use too. When I test it, it throws: Warning: main(HTML/Form.php): failed to open stream: No such file or directory in /srv/www/htdocs/netsys/formtest1.php on line 3 Fatal error: main(): Failed opening required 'HTML/Form.php' (include_path='.:') in /srv/www/htdocs/netsys/formtest1.php on line 3 Any ideas? Tx