How to use PECL/PEAR with XAMPP?

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

How to use PECL/PEAR with XAMPP?

Postby johnydoe » 17. July 2009 09:08

I'm trying to install the imagick pecl extension, but whatever I do, it constantly gets installed in /usr/lib/php/extensions/no-debug-non-zts-20060613, instead of /Applications/XAMPP/xamppfiles/lib/php/php-5.3.0/extensions/no-debug-non-zts-20090626.
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
Auto-discover new Channels     auto_discover    <not set>
Default Channel                default_channel
HTTP Proxy Server Address      http_proxy       <not set>
PEAR server [DEPRECATED]       master_server
Default Channel Mirror         preferred_mirror
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
PEAR data directory            data_dir         /usr/local/pear/PEAR/data
PEAR Installer download        download_dir     /usr/local/pear/temp/download
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>
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>
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?
Posts: 1
Joined: 17. July 2009 09:02

Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 2 guests