PEAR Installationsprobleme

Bash, Shell, PHP, Python, Perl, CGI
drucko
Posts: 53
Joined: 2002-09-15 16:54
Location: Steyr
 

Re: PEAR Installationsprobleme

Post by drucko »

Das kann ich nicht sagen, da ich es nicht verwende!
greets Drucko
hbaes
Posts: 70
Joined: 2002-10-08 21:04
 

Re: PEAR Installationsprobleme

Post by hbaes »

in den Virtellen Servern in denn Du pear verwendest kanns tdu open_basedir ausschalten, bzw. den open_basedir_pfad um das pear-Verzeichnis erweitern ...
xamibor
Posts: 211
Joined: 2003-03-11 16:52
 

Re: PEAR Installationsprobleme

Post by xamibor »

sorry das ich warscheinlich dumm fragen muss

du schreibst
n den Virtellen Servern in denn Du pear verwendest kanns tdu open_basedir ausschalten, bzw. den open_basedir_pfad um das pear-Verzeichnis erweitern ...
wie würde der genau befhel ausehen wenn man als confixx admin in der httpd spezial es für den Kunden /domain macht ?Ã?

lg
Andreas
hbaes
Posts: 70
Joined: 2002-10-08 21:04
 

Re: PEAR Installationsprobleme

Post by hbaes »

zu Beispiel so ...

Code: Select all

<VirtualHost xx.xx.xx.xx:80>
ServerName iregndwas.de
DocumentRoot /home/www/web5/html
User web5
Group ftponly
ScriptAlias /cgi-bin/ /home/www/web5/html/cgi-bin/
php_admin_value open_basedir /home/www/web5/:/usr/local/php/pear
php_admin_value upload_tmp_dir /home/www/web5/phptmp/
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f webmaster@irgendwas.de"
php_admin_value session.save_path /home/www/web5/phptmp/
</VirtualHost>
xamibor
Posts: 211
Joined: 2003-03-11 16:52
 

Re: PEAR Installationsprobleme

Post by xamibor »

Danke ... also
open_basedir restriction in effect. File is in wrong directory (/home/www/web2/html/mail/test.php:198
habe ich damit weg bekommen ....

nur sagt mit die test.php das immer noch nicht so richtig stimmig ist ...
http://www.btjc.de/mail/test.php

welchen der Pfade die in der CONFIGURATION angegeben werden muss ich nehmen um den include bei der php.ini zu setzen ...

lg
Andreas
hbaes
Posts: 70
Joined: 2002-10-08 21:04
 

Re: PEAR Installationsprobleme

Post by hbaes »

sei mal bitte so nett:

1.) trans_sid in der php.ini auf OFF (kannst Du auch nur für den VHost siehe oben setzen)
2.) gib mir mal ein ls /usr/share/php/ beziehungsweise ein /usr/share/pear bitte
xamibor
Posts: 211
Joined: 2003-03-11 16:52
 

Re: PEAR Installationsprobleme

Post by xamibor »

2.) gib mir mal ein ls /usr/share/php/ beziehungsweise ein /usr/share/pear bitte
unter anderem steht da:

PEAR
PEAR.php

lg
Andreas
hbaes
Posts: 70
Joined: 2002-10-08 21:04
 

Re: PEAR Installationsprobleme

Post by hbaes »

ok, kommst du via ssh auf den rechner ?

gib mal ein pear list ab ...
Danke !
xamibor
Posts: 211
Joined: 2003-03-11 16:52
 

Re: PEAR Installationsprobleme

Post by xamibor »

INSTALLED PACKAGES:
===================
PACKAGE VERSION STATE
Archive_Tar 1.1 stable
Console_Getopt 1.0 stable
DB 1.5.0RC2 stable
Log 1.7.1 stable
Mail 1.1.2 stable
Mail_Mime 1.2.1 stable
Net_SMTP 1.2.3 stable
Net_Socket 1.0.1 stable
PEAR 1.3b3 beta
PHPUnit 1.0.0-alpha2 alpha
XML_Parser 1.0.1 stable
XML_RPC 1.0.4 stable
phpOpenTracker 1.0.1 devel
hbaes
Posts: 70
Joined: 2002-10-08 21:04
 

Re: PEAR Installationsprobleme

Post by hbaes »

ok, noch mal zu verständnis:

in deiner php.ini was steht da KOMPLETT und haargenau
für include_path ???
xamibor
Posts: 211
Joined: 2003-03-11 16:52
 

Re: PEAR Installationsprobleme

Post by xamibor »

include_path=".:/usr/share/php/PEAR:usr/bin..."

da habe ich da stehen ...

lg
Andreas
Anonymous
 

Re: PEAR Installationsprobleme

Post by Anonymous »

Hi, hab das selbe problem bin aber schon einen Schritt weiter.

Bei mir kamm nach der Installation von Log und Date zumindest der anmeldebildschirm.

Bei dir steht bei der Test.php

Log - No
Date - No

Instaliere mal mit dem Befehl

pear install Log
pear install Date

die beiden Module

Nach dieser Installation hatte ich den Anmeldeschirm.

Und wegen dem Log noch das Include erweitern um das Verzeichnis /tmp

include_path=".:/usr/share/php/PEAR:/tmp:usr/bin..."
xamibor
Posts: 211
Joined: 2003-03-11 16:52
 

Re: PEAR Installationsprobleme

Post by xamibor »

nein leider nein habe es aufgegeben ....

gruß
Andreas
Post Reply