PECL

How to get php_http extension working on PHP version 5.4 with Windows?

為{幸葍}努か 提交于 2019-12-19 08:28:24
问题 Anyone know how I can get the php_http extension working on php 5.4.5 on windows? I am trying to upgrade to PHP 5.4.5 on my windows machine (running off IIS). The project I am working on has a dependency of the php_http extension (http://www.php.net/manual/en/book.http.php) Unfortunately there doesn't appear to be a downloadable DLL file anywhere for a 5.4 compatible version of this extension (see http://php.net/manual/en/http.install.php). Installing via pecl doesn't seem to work for me

Compiling a php extension with Visual Studio 2008, MODULE ID don't match with php

╄→гoц情女王★ 提交于 2019-12-19 04:19:05
问题 After compiling my own php extension using VC9 (2008) and VC10 (2010) using the next steps: http://blog.slickedit.com/2007/09/creating-a-php-5-extension-with-visual-c-2005/ I get the next error when initializing php: PHP Warning: PHP Startup: FirstPHPExt Module: Unable to initialize module Module compiled with build ID=API20090626,TS PHP compiled with build ID=API20090626,TS,VC9 These options need to match in Unknown on line 0 Why it doesn't says that I compiled the module with VC9 ? More

Installing PHP extensions on Windows

耗尽温柔 提交于 2019-12-18 16:16:53
问题 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

pecl_http failed to load

走远了吗. 提交于 2019-12-18 13:15:17
问题 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

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

我们两清 提交于 2019-12-18 10:48:12
问题 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

PECL extension for Windows

ぃ、小莉子 提交于 2019-12-18 10:24:10
问题 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

PHP-friendly NoSQL solutions [closed]

白昼怎懂夜的黑 提交于 2019-12-18 10:06:02
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I'm looking to use a NoSQL solution for my next project, which will be written in PHP. What choices do I have in terms of NoSQL

PHP cannot find MongoDB driver

放肆的年华 提交于 2019-12-18 07:22:32
问题 On my Ubuntu 12.04 installation I install PHP5 (5.5) from the ondej package. Everything works ok with the PHP, Apache and MySQL, I also successfully install Mongo daemom and Mongo client. But then PHP cannot locate the MongoDB driver in pear. I have followed all the steps explained in the documentation I have added the extension to the php.ini file in the CLI folder restarted the server updated everything and restart the server again. I have been stuck on this issue quite long time now. Where

PHP cannot find MongoDB driver

為{幸葍}努か 提交于 2019-12-18 07:22:05
问题 On my Ubuntu 12.04 installation I install PHP5 (5.5) from the ondej package. Everything works ok with the PHP, Apache and MySQL, I also successfully install Mongo daemom and Mongo client. But then PHP cannot locate the MongoDB driver in pear. I have followed all the steps explained in the documentation I have added the extension to the php.ini file in the CLI folder restarted the server updated everything and restart the server again. I have been stuck on this issue quite long time now. Where

PDF Lib install fail on linux server. Using pecl install pdflib

為{幸葍}努か 提交于 2019-12-18 03:43:40
问题 I'm attempting to install pdflib on my server and receiving the error: configure: error: pdflib.h not found! Check the path passed to --with-pdflib=<PATH>. PATH should be the install prefix directory. ERROR: /root/tmp/pear/pdflib/configure --with-pdflib=/usr/local' failed I am entering the following in terminal: pecl install pdflib path to pdflib installation? : /usr/local 回答1: I got it solved this way: Downloaded latest http://www.pdflib.com/binaries/PDFlib/705/PDFlib-Lite-7.0.5p3.tar.gz #