PECL

pecl installs for previous php version

旧街凉风 提交于 2019-12-03 02:46:38
问题 I've upgraded my MacBook to Mavericks and ruined my development environment. The problem I have right now is that my pear/pecl still tries to install for my previous (5.3) version of PHP instead of version 5.4. PHP version: $ php -v PHP 5.4.17 (cli) (built: Aug 25 2013 02:03:38) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans Pear $ pear version PEAR Version: 1.9.4 PHP Version: 5

Installing pecl_http in xubuntu

泪湿孤枕 提交于 2019-12-03 00:02:46
As per title, I am simply trying to install pecl_http extension for php in ubuntu. So I did what makes most sense: andreas@earl ~ $ sudo pecl install pecl_http downloading pecl_http-1.6.6.tgz ... Starting to download pecl_http-1.6.6.tgz (173,645 bytes) .....................................done: 173,645 bytes 71 source files, building running: phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 1. whether to enable cURL HTTP requests; specify libcurl directory : yes 1-1, 'all', 'abort', or Enter to continue: 1. whether to enable

Protobuffer | PHP安装Google protobuf及使用

僤鯓⒐⒋嵵緔 提交于 2019-12-02 21:32:25
PHP安装Google protobuf及使用 备注 项目采用redis集群(主从方式)存储数据;数据量月增50W,单个数据序列化情况下达到2k,继续压缩数据解决空间. 项目服务采用PHP(版本5.3)作为RPC服务版本. protobuf的相关说明和指南请参考 google proto buffers开发者指南 准备 安装protoc编译器 下载适合PHP 5.3版本的protobuf 2.5.0版本, 下载地址 解压并安装 tar -xvzf protobuf-2.5.0.tar.gz cd protobuf-2.5.0 ./configure --prefix=指定安装路径 make && make install 我是安装在/usr/local/protobuf-2.5目录下的; 安装PHP protocolbuffers扩展 通过pecl扩展安装, 扩展地址 pecl install channel://pecl.php.net/protocolbuffers-0.2.6 通过源码编译, 下载地址 tar -xvzf protocolbuffers-0.2.6.tar.gz cd protocolbuffers-0.2.6 phpize ./configure make && make install 经过1或者2, 然后在你的php.ini配置文件中添加 :

phpize won't work on Mac OS X Lion

蹲街弑〆低调 提交于 2019-12-02 18:04:30
I try to install xdebug but I get the follow error message about 'phpize'. How can I fix this thing? leny:~ nick$ sudo pecl install xdebug Password: downloading xdebug-2.1.2.tgz ... Starting to download xdebug-2.1.2.tgz (304,229 bytes) ............done: 304,229 bytes 66 source files, building running: phpize Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this script. ERROR: `phpize' failed Narcis Radu "Cannot find

Can I install the memcached PHP extension with PECL?

一曲冷凌霜 提交于 2019-12-02 17:19:57
I'm having trouble installing the " memcached " PHP extension from PECL, though I can successfully installed the " memcache " extension. (They are separate PHP extensions.) For example, these commands work okay: $ sudo pecl install memcache $ sudo pecl install APC $ sudo pecl install oauth However, attempting to install memcached causes errors: $ sudo pecl install memcached ... ld: library not found for -lmemcached collect2: ld returned 1 exit status make: *** [memcached.la] Error 1 ERROR: `make' failed I'm using pecl, memcached, and libmemcached from Mac Ports (macports.org) on a recent Intel

pecl installs for previous php version

匆匆过客 提交于 2019-12-02 16:20:54
I've upgraded my MacBook to Mavericks and ruined my development environment. The problem I have right now is that my pear/pecl still tries to install for my previous (5.3) version of PHP instead of version 5.4. PHP version: $ php -v PHP 5.4.17 (cli) (built: Aug 25 2013 02:03:38) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans Pear $ pear version PEAR Version: 1.9.4 PHP Version: 5.4.17 Zend Engine Version: 2.4.0 Running on: Darwin MBP-retina.local 13.0.0 Darwin Kernel Version 13.0

PECL solr not loading due to undefined symbol: curl_easy_getinfo

懵懂的女人 提交于 2019-12-02 08:16:28
问题 I'm trying to load the PECL solr extension. I have tried installed it using "pecl install solr" and by downloading and using "phpize/configure/make". In both cases, the extension installs with no errors, but after an apache restart (or when running php on the command line) this error message is always emitted: PHP Warning: Unable to load dynamic library /usr/lib64/php/modules/solr.so - /usr/lib64/php/modules/solr.so: undefined symbol: curl_easy_getinfo in Unknown on line 0 I checked and it

PECL solr not loading due to undefined symbol: curl_easy_getinfo

我与影子孤独终老i 提交于 2019-12-02 07:24:06
I'm trying to load the PECL solr extension. I have tried installed it using "pecl install solr" and by downloading and using "phpize/configure/make". In both cases, the extension installs with no errors, but after an apache restart (or when running php on the command line) this error message is always emitted: PHP Warning: Unable to load dynamic library /usr/lib64/php/modules/solr.so - /usr/lib64/php/modules/solr.so: undefined symbol: curl_easy_getinfo in Unknown on line 0 I checked and it appears that the created solr.so object does NOT know about /usr/lib64/libcurl.so, even though I

No releases available for package “pecl.php.net/intl”

北慕城南 提交于 2019-12-02 03:15:22
I'm trying to install intl for php. When I'm running sudo pecl install intl it gives me an error No releases available for package "pecl.php.net/intl" . I have tried to clear cache and also I tried to upgrade pear and pecl . Nothing. Here my pear and php versions: PEAR Version: 1.9.4 PHP Version: 5.6.3 Zend Engine Version: 2.6.0 Running on: Darwin iMac-bvc.local 14.5.0 Darwin Kernel Version 14.5.0: Tue Sep 1 21:23:09 PDT 2015; root:xnu-2782.50.1~1/RELEASE_X86_64 x86_64 Any ideas? Thanks in advance! To get it off the unanswered list: Well, problem solved! If you can't install intl by pecl you

“Cannot find config.m4.” while running phpize in the installation of apd using pecl

我只是一个虾纸丫 提交于 2019-12-01 14:06:03
问题 I'm trying to get access to rename_function in PHP, and for that I need PECL APD. I'm running Ubuntu 14.04 LTS. I'm trying to run sudo pecl install apd , but I'm getting: downloading apd-1.0.1.tgz ... Starting to download apd-1.0.1.tgz (36,643 bytes) ..........done: 36,643 bytes 15 source files, building running: phpize Cannot find config.m4. Make sure that you run '/usr/bin/phpize' in the top level source directory of the module If the command failed with 'phpize: not found' then you need to