Questions tagged [pecl]
27 questions
22
votes
5 answers
How to install PHP, Pear, PECL, and APC with Homebrew on Mac OS X?
I'm trying to install APC for PHP 5.3 in the easiest way possible. I love Homebrew so I started down that route. I was able to install PHP 5.3.6 with this command:
brew install https://github.com/adamv/homebrew-alt/raw/master/duplicates/php.rb…
Andrew
- 15,494
4
votes
3 answers
How do you install PHP PECL extensions with Macports?
I'm using PHP 5.5 installed through Macports. I'd like to add the APCu PECL library. But there's no macports package and I can't see a way to install the PEAR/PECL command line utility. So how does one add APCu (or really any PECL library) to PHP…
Matt S
- 402
3
votes
3 answers
Bash script to run "pecl install oci8"
I am trying to create shell script that will do the initial provisioning of a vagrant vm (running Ubuntu 12.04). Everything (installing php, apache, oracle instantclient, etc,) works fine, except for the last step - installing the php oci8…
Samuel Lindblom
- 208
3
votes
2 answers
Installing python through pecl - how do I "specify path to Python distribution files"?
I have found several instances where this question has been asked, but never answered. This is the part where the installation goes wrong
checking for Python files in default path... not found
configure: error: Please specify path to Python…
Hubro
- 6,016
3
votes
4 answers
How can I idempotently pecl install a module twice?
I have a bash script which should be re-runnable. It includes
pecl install foo ||
{
echo "Could not install foo!";
exit 1;
}
If this runs twice, it errors
pecl/foo is already installed and is the same as the released version 1.2.3
install…
spraff
- 2,458
3
votes
1 answer
FreeBSD install PECL php7
I want to active the gnupg extension for php7. But I can't find a package for pecl for php7.
Does anyone know a way to install pecl for php7 or how to activate gnupg without pecl?
Jan Wytze
- 153
2
votes
3 answers
Can't link Xdebug to PHP 5.4
Today I installed/updated my previous php 5.3.x to 5.4.11. Did it accordingly how do I upgrade from php 5.3 to php 5.4.6 in ubuntu?
Install was successful, but it seemed to me, that xdebug was outdated due to a warning message when viewing php -v to…
Eugene
- 169
2
votes
4 answers
PECL install error after upgrading to OSX 10.8
I've just upgraded my OS to Mountain Lion and PECL is no longer working (it's on a test drive so no drama, but I'd like to get it working so I can upgrade the OS on my shiny new SSD as well).
I'm using the native PHP installation, no…
Clive
- 131
2
votes
1 answer
Installing xdebug on Mac OS X Lion 10.7.2 using pecl
Im trying to get the xdebug environment up and running om my mac os x lion box using pecl.
I got the latest version of xcode installed and linked the binaries
sudo ln -s /Developer/usr/bin/autoconf /usr/bin/autoconf
sudo ln -s…
Eric Herlitz
- 485
2
votes
2 answers
php pecl install mac os x 10.6
Does anyone know how to install pecl for mac os x 10.6. I have tried googling with no luck.
Chris Muench
- 579
2
votes
1 answer
php's pecl - oauth - Mac OS X 10.6.6
I'm trying to install a php extension through pecl and I'm getting some weird errors... any ideas?
wcmisdpilotpc1:~ alexus$ sudo pecl install oauth
Password:
Notice: Array to string conversion in PEAR/REST/10.php on line 85
Warning: Invalid…
alexus
- 3,070
2
votes
1 answer
Install php trader on mac os
I am trying to install on my MAC the trader modul from PHP. I am running on PHP 7.1
Here my error:
sudo pecl install trader
Warning: Invalid argument supplied for foreach() in Downloader.php on line 592
Warning: Invalid argument supplied for…
nnikolay
- 123
1
vote
2 answers
PHP PECL Sphinx module won't install
I'm trying to install the PHP Sphinx client (PHP 5.6) on my Debian 7 server using PECL. I get the misleading error "wrong libsphinxclient version or lib not found" when trying to build, even though I've already installed Sphinx and can see the…
Mikkel
- 905
1
vote
2 answers
PECL SSH2 Installation issue
I am running this command:
sudo pecl install ssh2
It resulting the following log and exit with an error:
libssh2 prefix? [autodetect] :
building in /var/tmp/pear-build-rootHyRX5L/ssh2-0.12
running: /var/tmp/ssh2/configure --with-ssh2
checking for…
Rana
- 213
1
vote
0 answers
Ultimately installing a PECL extension but need a new version of libtool > 2.2
What's my end game :
installing SSPLUS, a PCEL extension
My config :
A virtuozzo server running Linux 2.6.18-028stab069.6 (Debian Lenny ??)
What I've done :
1
pear install spplus
Deprecated: Directive 'register_long_arrays' is deprecated in PHP…
Iko
- 11