12-09-2011, 01:58 AM
(12-09-2011, 12:54 AM)steinm Wrote:(12-09-2011, 12:44 AM)Daniel Wrote: I tried again, but still no luck. The include path seems to be OK now.
Code:Stratocumulus> php -i |grep include_path
include_path => .:/opt/share/pear => .:/opt/share/pear
I don't know why it is stated twice, i only included it once.
Pear itself seems to work:
Code:Stratocumulus> pear version
PEAR Version: 1.9.1
PHP Version: 5.2.17
Zend Engine Version: 2.2.0
Running on: Linux Stratocumulus 2.6.32.12 #1955 SMP Sat Nov 26 14:52:27 CST 2011 x86_64
You should check where Log.php actually is located on your disk. Is it /opt/share/pear ?
Uwe
But it still displays that the log package is missing. As far as i can see i can't tell Pear where the log package is installed. It is currently at the same place as the Pear installation.
Any idea how i can fix it? Seems to be the last thing until it will work.
Yes it is /opt/share/pear:
Code:
Stratocumulus> ls -l /opt/share/pear
drwxr-xr-x 2 root root 4096 Dec 8 17:52 Archive
drwxr-xr-x 2 root root 4096 Dec 8 17:52 Console
drwxr-xr-x 3 root root 4096 Dec 8 19:25 HTTP
drwxr-xr-x 2 root root 4096 Dec 8 18:07 Log
-rw-r--r-- 1 root root 26999 Dec 8 18:07 Log.php
drwxr-xr-x 2 root root 4096 Dec 8 17:52 OS
drwxr-xr-x 11 root root 4096 Dec 8 17:52 PEAR
-rw-r--r-- 1 root root 33897 Dec 8 17:52 PEAR.php
-rw-r--r-- 1 root root 1087 Dec 8 17:52 PEAR5.php
drwxr-xr-x 3 root root 4096 Dec 8 17:52 Structures
-rw-r--r-- 1 root root 19967 Dec 8 17:52 System.php
drwxr-xr-x 2 root root 4096 Dec 8 17:52 XML
drwxr-xr-x 6 root root 4096 Dec 8 19:25 data
drwxr-xr-x 8 root root 4096 Dec 8 19:25 doc
-rw-r--r-- 1 root root 14379 Dec 8 17:52 pearcmd.php
-rw-r--r-- 1 root root 928 Dec 8 17:52 peclcmd.php
drwxr-xr-x 6 root root 4096 Dec 8 19:25 test