PECL

Memcached (not memcache) PHP extension on Windows

夙愿已清 提交于 2019-11-30 17:52:18
I can't seem to find the Memcache D extension for PHP. There are a few compilations of php_memcache.dll, but that's not the same. The main thing I'm missing is getMulti() , which doesn't exist in Memcache. So far I found this, but there's no DLL: http://pecl.php.net/package/memcached Officially - it does not exist. There are several people who have created their own DLL's though. Here is one person's blog who has created the dll: http://trondn.blogspot.com/2010/07/libmemcached-on-win32.html Here is a link to the repository with the source so you can build your own DLL for memcached: http:/

Installing PDO_MYSQL on PHP 5.1.6 using PECL OS: Ubuntu

泄露秘密 提交于 2019-11-30 14:04:33
问题 I'm having real problems getting PDO_MYSQL working. I started by just trying to install the PDO_MYSQL driver via PECL, however when this didn't work I looked round to see if there where any issues reported. It seems that there may be a conflict between the embedded version of PDO and PDO_MYSQL. To that end i decided to reinstall all it's dependencies from PECL. Environment: OS: Ubuntu PHP Ver: 5.1.6 (Unable to upgrade due to clients live environment) Procedure Followed: PECL uninstall PDO

Installing PHP extensions on Windows

荒凉一梦 提交于 2019-11-30 13:54:47
I am using a Windows XP Home Edition. I need to install a few extensions to PHP -- memcache, APC, .etc. And I would very much like to use PECL to make this happen. The problem is PECL takes it for granted that I will have certain programs on my computer. On another post, I read, for instance, that you need to have Microsoft Visual Studio C++ installed on your machine. However, the new version of Visual Studio, which I downloaded, does not have msdev.exe and instead uses vcbuild.exe, which has a completely different api and fails to compile the .dsp files that come with these modules. So I

Installing PDO_MYSQL on PHP 5.1.6 using PECL OS: Ubuntu

独自空忆成欢 提交于 2019-11-30 09:14:50
I'm having real problems getting PDO_MYSQL working. I started by just trying to install the PDO_MYSQL driver via PECL, however when this didn't work I looked round to see if there where any issues reported. It seems that there may be a conflict between the embedded version of PDO and PDO_MYSQL. To that end i decided to reinstall all it's dependencies from PECL. Environment: OS: Ubuntu PHP Ver: 5.1.6 (Unable to upgrade due to clients live environment) Procedure Followed: PECL uninstall PDO_MYSQL PECL uninstall PDO PECL uninstall mysql PECL install mysql PECL install PDO PECL install PDO_MYSQL

pecl_http failed to load

别来无恙 提交于 2019-11-30 09:11:47
This is my server configuration: CentOS release 6.5 (Final) PHP 5.5.7 pecl_http 2.0.4 stable Server version: Apache/2.2.15 (Unix) I have everything up and running except when I tried to load the pecl_http module it gives me the following warning and it won't load: PHP Warning: PHP Startup: Unable to load dynamic library '/path/to/php/modules/http.so' - /path/to/php/modules/http.so: undefined symbol: php_persistent_handle_abandon in Unknown on line 0 I tried to look everywhere but without a luck. The install seems fine but I don't know what's wrong with it. amurrell I came here with the same

Ubuntu pecl install pecl_http fail

坚强是说给别人听的谎言 提交于 2019-11-30 07:56:58
问题 I'm trying to install this extension but it fails in the configuration phase. I'm on ubuntu 12.04 and I have just installed these packages: libcurl3-openssl-dev php-http libpcre3-dev libcurl3 php-pear php5-dev PHP version: PHP 5.3.10-1ubuntu3.14 with Suhosin-Patch (cli) (built: Sep 4 2014 07:08:49) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans Here is the log of the

Where to find MAMP server components and Libraries

只愿长相守 提交于 2019-11-30 04:45:23
问题 I am trying to install pecl_http in MAMP php. I am getting the following errors. grep: /Applications/MAMP/bin/php/php5.5.10/include/php/main/php.h: No such file or directory grep: /Applications/MAMP/bin/php/php5.5.10/include/php/Zend/zend_modules.h: No such file or directory grep: /Applications/MAMP/bin/php/php5.5.10/include/php/Zend/zend_extensions.h: No such file or directory Configuring for: Did a research on that and found out we need MAMP server components and Libraries. After

Memcached (not memcache) PHP extension on Windows

大憨熊 提交于 2019-11-30 01:46:03
问题 I can't seem to find the Memcache D extension for PHP. There are a few compilations of php_memcache.dll, but that's not the same. The main thing I'm missing is getMulti(), which doesn't exist in Memcache. So far I found this, but there's no DLL: http://pecl.php.net/package/memcached 回答1: Officially - it does not exist. There are several people who have created their own DLL's though. Here is one person's blog who has created the dll: http://trondn.blogspot.com/2010/07/libmemcached-on-win32

What's the Difference Between Extension and zend_extension in php.ini?

你离开我真会死。 提交于 2019-11-29 23:38:09
When I installed Xdebug through pecl , it added the following line to my php.ini file. extension="xdebug.so" and everything I used worked. Until today. Today I was having trouble setting up Xdebug for interactive debugging. I couldn't get anything working until I changed the above to zend_extension="/usr/local/lib/php/extensions/xdebug.so" (Caveat: I think this is what got me working, but I'm not 100% sure) This raised the question in my mind. What's the difference in loading an extension via extension= vs. zend_extension ? Milen A. Radev At the core of the PHP language (more like the

PECL extension for Windows

痞子三分冷 提交于 2019-11-29 21:04:58
I found a few related posts here but didn't get my answer. So posting again. How would I install a PECL extension on windows? Say I want the PECL oAuth extension on Windows XP. I know 2 methods, but none of them is working for me. The site http://pecl4win.php.net/ is down for months. So I cant download the DLL. Is there any place we can download the DLLs from ? running the command pecl install oauth-0.99.9.tgz is throwing the error The DSP oauth.dsp does not exist. I tried with few other extensions also and getting the same error. What am I missing here? johannes Releases can now be found here