I have two instances of PHP in my Ubuntu. One is xampp (/opt/lampp/bin) and the other is in /etc/php5. I want to install pecl extension for xampp php but every command i make it works only for /etc/php5
here's what I type:
- cd imagick-3.1.0b1/
- /opt/lampp/bin/phpize
- ./configure
- make
- make install
what am I doing wrong?
Best Answer
Use the --with-php-config option to the configure script to point it to the correct php-config5 binary, like so: