PEAR::DB und Confixx Frage !

Plesk, Confixx, Froxlor, SysCP, SeCoTo, IspCP, etc.
Post Reply
trippleex
Posts: 16
Joined: 2006-03-06 13:00

PEAR::DB und Confixx Frage !

Post by trippleex »

Hallo,

wie kann ich unter Confixx für den User webXXX pear verfügbar machen ?

Ich bekomme bei einem Script folgende fehlermeldung:

Code: Select all

Warning: main(DB.php): failed to open stream: No such file or directory in /home/www/web8/html/radio/server/smi/db_connect.php on line 2

Fatal error: main(): Failed opening required 'DB.php' (include_path='.') in /home/www/web8/html/radio/server/smi/db_connect.php on line 2
Ich habe mal über "httpd Spezial" im Adminmenü von Confixx:

Code: Select all

php_admin_value open_basedir /home/www/##user##/html/:/home/www/##user##/phptmp/:/home/www/##user##/files/:/home/www/##user##/atd/:/usr/share/php
php_admin_value include_path .:/usr/share/php
php_admin_value safe_mode_include_dir /usr/share/php
eingegeben, aber Leider ohne erfolg!

Dannach bekomme ich diesmal:

Code: Select all

Warning: main(DB.php): failed to open stream: No such file or directory in /home/www/web8/html/radio/server/smi/db_connect.php on line 2

Fatal error: main(): Failed opening required 'DB.php' (include_path='.:/usr/share/php') in /home/www/web8/html/radio/server/smi/db_connect.php on line 2
Weiss jemand eine Abhilfe?
Hab schon im Gesucht, aber nixht wirklich etwas passendes gefunde.

Gruß

TrippleEx
flo
Posts: 2223
Joined: 2002-07-28 13:02
Location: Berlin

Re: PEAR::DB und Confixx Frage !

Post by flo »

TrippleEx wrote:

Code: Select all

Fatal error: main(): Failed opening required 'DB.php' (include_path='.:/usr/share/php') in /home/www/web8/html/radio/server/smi/db_connect.php on line 2
Böde Frage, aber ist die Datei bzw. die PEAR-Module überhaupt vorhanden? Der include-Path wurde ja übernommen, prinzipiell müsste er das auch finden.

flo.
trippleex
Posts: 16
Joined: 2006-03-06 13:00

Re: PEAR::DB und Confixx Frage !

Post by trippleex »

Die Frage ist gar nicht Blöd, das ist nämlich ne gute Frage.
Ich bin da noch nicht so Fit :roll:

Ich habe unter /usr/share/php

die Dateien:
PEAR.php
pearcmd.php

und unter:
/usr/share/php/PEAR

http://img246.imageshack.us/img246/4738/pearma7.jpg

Wie kann ich den wie und wo Pear installiert ist.

DAnke[/post]
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53

Re: PEAR::DB und Confixx Frage !

Post by Roger Wilco »

Code: Select all

pear config-show
pear install -a DB
trippleex
Posts: 16
Joined: 2006-03-06 13:00

Re: PEAR::DB und Confixx Frage !

Post by trippleex »

also config sieht so aus :

Code: Select all

Configuration:
==============
PEAR executables directory     bin_dir         /usr/bin
PEAR documentation directory   doc_dir         /usr/share/php/doc
PHP extension directory        ext_dir         /usr/lib/php/extensions
PEAR directory                 php_dir         /usr/share/php
PEAR Installer cache directory cache_dir       /tmp/pear/cache
PEAR data directory            data_dir        /usr/share/php/data
PHP CLI/CGI binary             php_bin         /usr/bin/php
PEAR test directory            test_dir        /usr/share/php/test
Cache TimeToLive               cache_ttl       3600
Preferred Package State        preferred_state stable
Unix file mask                 umask           22
Debug Log Level                verbose         1
HTTP Proxy Server Address      http_proxy      <not set>
PEAR server                    master_server   pear.php.net
PEAR password (for             password        <not set>
maintainers)
Signature Handling Program     sig_bin         /usr/local/bin/gpg
Signature Key Directory        sig_keydir      /etc/pearkeys
Signature Key Id               sig_keyid       <not set>
Package Signature Type         sig_type        gpg
PEAR username (for             username        <not set>
maintainers)

Installtion war nicht erfolgreich:

Code: Select all

g126:~ # pear install -a DB
downloading DB-1.7.6.tgz ...
Starting to download DB-1.7.6.tgz (124,807 bytes)
............................done: 124,807 bytes
downloading PEAR-1.4.11.tgz ...
Starting to download PEAR-1.4.11.tgz (283,272 bytes)
...done: 283,272 bytes
Release for 'pear' dependency Release for 'pear'  Release for 'pear' dependency
'PEAR_Frontend_Web' has state dependency          'PEAR_Frontend_Gtk2' has state
'alpha', requires 'stable'    'PEAR_Frontend_Gtk' 'beta', requires 'stable'
                              has state 'beta',
                              requires 'stable'
install failed
Woran hat das gelegen ?
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53

Re: PEAR::DB und Confixx Frage !

Post by Roger Wilco »

TrippleEx wrote:Woran hat das gelegen ?
An den Abhängigkeiten von PEAR 1.4.11. Entweder du installierst die Abhängigkeiten automatisch über die Gewaltschiene (--force) oder du installierst die Abhängigkeiten von PEAR::DB von Hand (wenn es welche gibt).
trippleex
Posts: 16
Joined: 2006-03-06 13:00

Re: PEAR::DB und Confixx Frage !

Post by trippleex »

Danke, kannst du mir auch einen Tipp geben wie ich das mache?

Danke
Post Reply