Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: crusader on August 02, 2007, 07:39:39 PM
-
I try to install phprojekt on my sme V7.2 server. But every time it comes to a part where I need some PEAR modules I get this error:
Error: PEAR::HTTP_WebDAV_Server could no be found!
Search path: .:./:./pear/:.:/usr/share/pear-addons:/usr/share/pear
But PEAR::HTTP_WebDAV_Server is definitly installed does someon has any idea why I get this error, and how I can solve this problem?
-
I try to install phprojekt on my sme V7.2 server. But every time it comes to a part where I need some PEAR modules I get this error:
Error: PEAR::HTTP_WebDAV_Server could no be found!
Search path: .:./:./pear/:.:/usr/share/pear-addons:/usr/share/pear
But PEAR::HTTP_WebDAV_Server is definitly installed does someon has any idea why I get this error, and how I can solve this problem?
On a default 7.2 load this is not installed. Are you sure you installed it? Please do a:
pear list
and confirm you can see it. If not, then it's not installed and you will need to - pear install channel://pear.php.net/HTTP_WebDAV_Server-1.0.0RC4 to install it as it is still a beta package, or create yourself a set of RPMS and put then in the correct place.
JOhn
-
On a default 7.2 load this is not installed. Are you sure you installed it? Please do a:
pear list
and confirm you can see it. If not, then it's not installed and you will need to - pear install channel://pear.php.net/HTTP_WebDAV_Server-1.0.0RC4 to install it as it is still a beta package, or create yourself a set of RPMS and put then in the correct place.
JOhn
this is was pear list is printing:
Installed packages, channel pear.php.net:
=========================================
Package Version State
Archive_Tar 1.3.2 stable
Console_Getopt 1.2.3 stable
DB 1.7.12 stable
HTTP 1.4.0 stable
HTTP_Request 1.4.1 stable
HTTP_WebDAV_Client 0.9.7 beta
HTTP_WebDAV_Server 0.99.1 beta
MDB2 2.4.1 stable
Mail 1.1.14 stable
Net_SMTP 1.2.10 stable
Net_Socket 1.0.8 stable
Net_URL 1.0.15 stable
PEAR 1.6.1 stable
Structures_Graph 1.0.2 stable
XML_Parser 1.2.8 stable
XML_RPC 1.5.1 stable
So HTTP_WebDAV_Server is definitly installed
-
Ok, at least I find out that it must have something to do with the search path in some way's cause if I copy the complete pear dir under my applications dir it works. Strangest thing is that the include_path does have /usr/share/pear as option which should enable it to find pear modules, but it doesn't
-
Ok, at least I find out that it must have something to do with the search path in some way's cause if I copy the complete pear dir under my applications dir it works. Strangest thing is that the include_path does have /usr/share/pear as option which should enable it to find pear modules, but it doesn't
It has to do with the php_basedir restrictions, the path to the PEAR libraries is proabably not in the PHPBaseDir variable for the ibay from which you are running the PEAR library. Have a look at the wiki, I believe that there is a FAQ or Howto for configuring the PHPBaseDire setting.
-
Thank you, this hint did the trick.
It was really the open_basedir option which was preventing my application from accessing the pear dir.