Hallo,
ich habe das gleiche Problem, nur mit PHP5
- Code: Select all
C:\php5\pear
Die Konstante PEAR_INSTALL_DIR ist eine CORE-Konstante
laut
http://de2.php.net/manual/de/reserved.constants.phpHeißt dass etwa, dass man diese nicht ändern kann?
Was auch lustig ist, einmal "pear -V" ausführen:
Dort sind die richtigen und falschen
- Code: Select all
D:\Anwendungen\Xampp\php>pear -V
PEAR Version: 1.4.11
PHP Version: 5.2.3
Zend Engine Version: 2.2.0
Running on: Windows NT PC50659 5.1 build 2600
D:\Anwendungen\Xampp\php>pear config-show
CONFIGURATION (CHANNEL PEAR.PHP.NET):
=====================================
Auto-discover new Channels auto_discover <not set>
Default Channel default_channel pear.php.net
HTTP Proxy Server Address http_proxy <not set>
PEAR server [DEPRECATED] master_server pear.php.net
Default Channel Mirror preferred_mirror pear.php.net
Remote Configuration File remote_config <not set>
PEAR executables directory bin_dir D:\Anwendungen\Xampp\php
PEAR documentation directory doc_dir C:\php5\pear\docs
PHP extension directory ext_dir D:\Anwendungen\Xampp\php\ext\
PEAR directory php_dir D:\Anwendungen\Xampp\php\pear
PEAR Installer cache directory cache_dir C:\DOCUME~1\ROSENB~1\LOCALS~1\Te
mp\pear\cache
PEAR data directory data_dir [b]C:\php5\pear\data[/b]
PEAR Installer download download_dir C:\DOCUME~1\ROSENB~1\LOCALS~1\Te
mp\pear\cache
directory
PHP CLI/CGI binary php_bin D:\Anwendungen\Xampp\php\.\php.e
xe
PEAR Installer temp directory temp_dir C:\DOCUME~1\ROSENB~1\LOCALS~1\Te
mp\pear\temp
PEAR test directory test_dir C:\php5\pear\tests
Cache TimeToLive cache_ttl 3600
Preferred Package State preferred_state stable
Unix file mask umask 0
Debug Log Level verbose 1
PEAR password (for password <not set>
maintainers)
Signature Handling Program sig_bin c:\gnupg\gpg.exe
Signature Key Directory sig_keydir C:\WINDOWS\pearkeys
Signature Key Id sig_keyid <not set>
Package Signature Type sig_type gpg
PEAR username (for username <not set>
maintainers)
User Configuration File Filename C:\WINDOWS\pear.ini
System Configuration File Filename C:\WINDOWS\pearsys.ini
obwohl in der "pear.ini" etwas ganz anderes drinnen steht:
- Code: Select all
#PEAR_Config 0.9
a:8:{s:15:"preferred_state";s:6:"stable";s:7:"bin_dir";s:10:"\Xampp\php";
s:7:"php_dir";s:15:"\xampp\php\pear";
s:7:"doc_dir";s:20:"\xampp\php\pear\docs";
s:8:"data_dir";s:20:"\xampp\php\pear\data";
s:8:"test_dir";s:21:"\xampp\php\pear\tests";
s:7:"php_bin";s:18:"\xampp\php\php.exe";
s:10:"__channels";a:2:{s:12:"pecl.php.net";a:0:{}s:5:"__uri";a:0:{}}}
Irgendwie sieht mir das wie ein Bug aus.
Gibt es eigendlich einen bei dem ..
- Code: Select all
<?php
echo PEAR_INSTALL_DIR."<br>";
?>
.. das richtige Verzeichnis liefert?
probiert es bitte einmal aus und postet die Ergebnisse.
Dankeschön schon mal im Voraus
Mario