Just blindly copying the file doesn't work, as it is build with a different API version.
Somehow, when I use the xampp pecl, it doesn't use any of my xampp configuration and uses my leopard defaults. This is very weird, as my pecl config-show output is the following:
- Code: Select all
Configuration (channel pecl.php.net):
=====================================
Auto-discover new Channels auto_discover <not set>
Default Channel default_channel pecl.php.net
HTTP Proxy Server Address http_proxy <not set>
PEAR server [DEPRECATED] master_server pear.php.net
Default Channel Mirror preferred_mirror pecl.php.net
Remote Configuration File remote_config <not set>
PEAR executables directory bin_dir /usr/local/pear/bin
PEAR documentation directory doc_dir /usr/local/pear/PEAR/docs
PHP extension directory ext_dir /Applications/XAMPP/xamppfiles/lib/php/php-5.3.0/extensions/no-debug-non-zts-20090626
PEAR directory php_dir /usr/local/pear/PEAR
PEAR Installer cache directory cache_dir /private/tmp/pear/cache
PEAR configuration file cfg_dir /Applications/XAMPP/xamppfiles/lib/php/pear/cfg
directory
PEAR data directory data_dir /usr/local/pear/PEAR/data
PEAR Installer download download_dir /usr/local/pear/temp/download
directory
PHP CLI/CGI binary php_bin /Applications/XAMPP/xamppfiles/bin/php
php.ini location php_ini <not set>
--program-prefix passed to php_prefix <not set>
PHP's ./configure
--program-suffix passed to php_suffix <not set>
PHP's ./configure
PEAR Installer temp directory temp_dir /usr/local/pear/temp
PEAR test directory test_dir /usr/local/pear/PEAR/tests
PEAR www files directory www_dir /Applications/XAMPP/xamppfiles/lib/php/pear/htdocs
Cache TimeToLive cache_ttl 3600
Preferred Package State preferred_state stable
Unix file mask umask 22
Debug Log Level verbose 1
PEAR password (for password <not set>
maintainers)
Signature Handling Program sig_bin /usr/local/bin/gpg
Signature Key Directory sig_keydir /Applications/XAMPP/xamppfiles/etc/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 /Users/pvink/.pearrc
System Configuration File Filename /Applications/XAMPP/xamppfiles/etc/pear.conf
Does anybody have a clue how to use pecl/pear with xampp? Or how to install the imagick extension otherwise?