Wenn ich den pear-Befehl auf der Kommandozeile mit pear config-show aufrufe, bekomme ich bei laufendem php5 die folgenden Parameter zurückgeliefert:
- Code: Select all
PEAR executables directory bin_dir /Applications/xampp/xamppfiles/bin
PEAR documentation directory doc_dir /Applications/xampp/xamppfiles/lib/php/php4/php/doc
PHP extension directory ext_dir /Applications/xampp/xamppfiles/lib/php/php4/extensions/no-debug-non-zts-20020429
PEAR directory php_dir /Applications/xampp/xamppfiles/lib/php/php4/php
PEAR Installer cache directory cache_dir /tmp/pear/cache
PEAR data directory data_dir /Applications/xampp/xamppfiles/lib/php/php4/php/data
PHP CLI/CGI binary php_bin /Applications/xampp/xamppfiles/bin/php
PEAR test directory test_dir /Applications/xampp/xamppfiles/lib/php/php4/php/test
was etwas fatal ist, da die php-Installation davon ausgeht, dass die Pear-Module nicht in /Applications/xampp/xamppfiles/lib/php/php4/php, sondern in /Applications/xampp/xamppfiles/lib/php/ liegen. Das fällt auch nicht weiter auf, erst wenn man neue Module hinzuinstallieren will, wie z.B. HTML_Template_IT oder Auth, die standardmäßig nicht bei der Distribution dabei sind. Pear versucht nun, die Sachen stumpf nach /Applications/xampp/xamppfiles/lib/php/php4/php zu installieren, wo sich natürlich gar nichts befindet.
An einem Workaround, wie ich pear dazu bewege, auf die richtigen Verzeichnisse zuzugreifen, wäre ich sehr interessiert.
Cheers,
Helmut