Hi,
a quick update - I removed the FreeBSD installations of Apache and PHP (previously installed through the ports collection), and downloaded and manually installed Apache 1.3.33 and PHP 4.3.10, edited the php.ini file to include /usr/local/share/pear and lo and behold, PEAR now works fine...
Hi there,
tried that thanks - with path as "/usr/local/share/pear/DB.php"
I get
Warning: is_file(): Stat failed for /usr/local/share/pear/DB.php (errno=13 - Permission denied) in /usr/home/alun/httpd/htdocs/testoxfordarts/htdocs/pear-test2.php on line 4
File cannot be found
and if the path is...
Hi there,
Thanks, tried
require("/usr/local/share/pear/DB.php");
and
require("//usr/local/share/pear/DB.php");
No joy :-(
requireFatal error: main(): Failed opening required '/usr/local/share/pear/DB.php' (include_path='.:/usr/local/share/pear')
Very wierd.
BTW it's the same with other PEAR...
Hi,
yes, DB.php is in /usr/local/share/pear with the following persmission (installed through pear and not touched afterwards!)
-rw-r--r-- 1 root wheel 38937 Mar 14 11:12 DB.php
There is also a DB subdirectory
drwxr-xr-x 2 root wheel 512 Mar 14 11:12 DB
with the various .php files...
Hi,
I've got PEAR 1.3.5 installed on a local FreeBSD (4.9 RELEASE) server.
PHP 4.3.6 has an include path of include_path.:/usr/local/share/pear.:/usr/local/share/pear
and the PEAR modules are indeed installed into
/usr/local/share/pear
I installed DB.php, Mail.php and some others.
Calling...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.