yanaframework.net Forum Index yanaframework.net
Yana Framework Developer's Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log inLog in 

PEAR- Problem

 
Post new topic   Reply to topic    yanaframework.net Forum Index -> Deutsches Forum
View previous topic :: View next topic  
Author Message
hbauch



Joined: 07 Jan 2010
Posts: 1

PostPosted: Thu 07 Jan, 2010 15:22    Post subject: PEAR- Problem Reply with quote

Hallo.
Ich bekomme leider keine PEAR Verbindung zustande, obwohl alles korrekt installiert wurde- PEAR ist installiert und auch in der php.ini verzeichnet. Das gilt auf meinem lokalen Rechner genau wie bei Hosteurope.


Fehler in PHP-Konfiguration
Diese Datenbankanwendung benötigt Zugriff auf die PEAR-DB Schnittstelle. Leider konnte PEAR-DB auf Ihrem Server nicht gefunden werden. Deshalb konnte dieses Plugin nicht gestartet werden.Administratoren: Überprüfen Sie die Serverkonfiguration und stellen Sie sicher, dass in der Datei "php.ini" der Installationspfad von PEAR in der Variable "include_path" genannt wird.Webmaster: Melden Sie dieses Problem Ihrem Administrator. Sollten Sie PEAR-DB auf Ihrem Server nicht nutzen dürfen, müssen Sie auf die Datenbankunterstützung leider verzichten.

So what can i do?

Danke im Voraus
hbauch
Back to top
View user's profile Send private message
admin
Administrator


Joined: 16 Jan 2007
Posts: 87

PostPosted: Thu 07 Jan, 2010 16:19    Post subject: Reply with quote

PEAR ist nicht gleich PEAR DB. So wie alle anderen PEAR Pakete auch muss PEAR DB zusätzlich installiert werden. Dazu gibt es einen Installer der über die Kommandozeile bedient wird. Der Aufruf (als Nutzer root (Linux), bzw. als Administrator (Windows)) lautet "pear install DB".
Unter Windows muss man sich dazu im PHP-Verzeichnis befinden, wo eine entsprechende pear.bat abgelegt sein sollte.

Ich habe über Google auch eine Anleitung gefunden. http://www.easysoft.com/developer/languages/php/pear-db-odbc.html
Der Abschnitt "Installing PEAR DB" ist in diesem Tutorial als einziger relevant. Der Rest passiert automatisch.

Für das Framework muss die Datei DB.php im Include-Path stehen, damit PEAR DB geladen werden kann.

Wenn man den Weg über den Installer nicht verwenden kann oder will, kann man die Installation von Hand durchführen, was allerdings aufwendiger ist. Dazu muss man das Paket von Hand herunterladen und in das richtige Verzeichnis entpacken. Schwierig ist das vor allem deshalb, weil die Download-Pakete nicht identisch sind zu dem, was der Installer tut. Außerdem werden Abhängigkeiten eventuell nicht korrekt aufgelöst.

Außerdem muss PEAR im Include-Path eingetragen sein.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    yanaframework.net Forum Index -> Deutsches Forum All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Contact the Forum's Administrator


Powered by phpBB © 2001, 2005 phpBB Group