I've been trying to install some PECL extensions on my laptop, but I've ran into a few problems. Whenever I run pecl install whatever from the command line I get a message saying ".\php.exe appears to have a suffix .exe, but config variable php". It seems like PECL is using PEAR to perform installations. I checked and php_suffix is locat...
My Cerberus installation fails when testing the php_mailparse lib. After some research, I understand that PECL does not supply an x64 version of their dll for windows.
Can anyone provide instructions on how I might go about compiling the following lib for x64? Is VS my best option and if so, a quick overview would be very helpful.
lin...
I found 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 extesion 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 d...
I'm working on a PHP Client for CouchDB. While browsing through the php.net documentation regarding HTTP and cURL, I came across the PECL_HTTP Extension. At first glance, I think I would like to use this PECL extension instead of cURL because it's much simpler to use, and I'm not doing very complicated HTTP work anyways. Plus I always li...
Hello,
I'm trying to install the following PHP extension: http://php.net/manual/en/book.svn.php
But when I do pecl install svn-beta I receive an error message that it can't locate the svn_client.h file.
I searched the net but couldn't find any useful reference to this error.
Thank you for your help.
Installation result:
root@myUbuntu...
I am trying to install apc with command
yum install apc
it's giving me following error
Parse error: syntax error, unexpected T_RETURN, expecting T_FUNCTION in /usr/local/lib/php/Archive/Tar.php on line 251
what could be the reason ?
...
I'm using XAMPP (latest version) on OS 10.6.2, that's bundled with PHP 5.3.0
I installed the XAMPP development package for the PHP source/header files and ran the following command from Terminal-
sudo ./pecl install uploadprogress
Everything appeared to work fine. My php.ini file (yup - I checked it's the same one being loaded in php...
UPDATE (5/21/2010) SUCCESS!
So after MUCH $head->desk()'ing, I've solved it.
Remember kids, be wary of the instant client version you use, dependent on the virtualization settings!
I had been installing the generic Instant Client (not aware our ESX servers sit on AMD processors, not Intel) and that worked fine internally (the CentOS i...
I've installed the sphinx binaries and libraries and am now trying to install the PECL sphinx module.
My system is running OS X 10.6 with MAMP 1.8.2 installed. I try to install sphinx using the following command:
sudo pecl install sphinx
The PECL command outputs the following:
running: phpize
Configuring for:
PHP Api Version: ...
Hi,
I'm trying to install zorba php extension on windows and I am having all sorts of problems. I have installed the zorba binaries on my computer, but when I try to install the PECL package (pecl install zorba-alpha) I get the following error "ERROR: the DSP zorba.dsp does not exist".
I've tried searching for zorba_api.dll or zorba_ap...
I'm trying to install the PECL extension pecl_http so that I can use PHP's http_negotiate_language() function.
I'm running PHP5 on Apache2 and Debian Lenny. I installed the php_http package from the debian repo, however, I still can't use that function in my php scripts! The package also doesn't show up under phpinfo(). I tried installi...
I just installed the PECL oauth extension but when I look at the PHP info output, I see that "PLAINTEXT" support is not supported. It appears that only "HMAC-SHA1 support" is enabled.
How can I enable PLAINTEXT support?
...
I'm not too great with xdebug so forgive me if this is a stupid question. But I installed it on a separate machine and it performed some magic for me like formating my var_dump() output and catching any uncaught exceptions. It also fails to format the stack traces, outputting plain text which is extremely hard to read.
As I am learning ...
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 solutions that can easily interfaced via PHP? I haven't done much thinking about the architecture yet, so I'm not sure what my needs will be; I'd simply like to know what my choices are so I don't build somethin...
In PHP 5.3 is there a way to rename a function or "hook" a function.
There is the rename_function() within "APD" which has been broken since ~2004. If you try and build it on PHP 5.3 you'll get this error:
'struct _zend_compiler_globals' has no member named 'extended_info'
This is a really easy error to fix, just change this line:
...
In PHP, what are the biggest considerations when choosing between using http_get("https://...") and a sockets loop with fsockopen("ssl://..."), fputs() and fread()?
I’ve seen a couple of implementations lately that use the latter. Is that just old legacy code or is there some good reason for it?
Thanks.
...
I'm trying to install a PECL package on Linux, but the installer never gets past the configure stage.
My hosting provider mounted a file system at /var/tmp that prevents files from executing, and that's causing this error:
root@host [/usr/local/apache/conf/includes]# pecl install pdo
downloading PDO-1.0.3.tgz ...
Starting to download P...
I'm using PHP Oauth PECL Library to access audio files on Soundcloud and I'm not sure of the best way to do this.
What I have so far is:
$oauth = new OAuth(
$network->get_consumer_key(),
$network->get_consumer_secret(),
OAUTH_SIG_METHOD_HMACSHA1,
OAUTH_AUTH_TYPE_URI
);
$oauth->setToken('', '');
$oauth->fetch('', array...
Just compiled 5.3.3 from source (win32).
Trying to test some header() stuff but it looks like it won't work with CLI sapi.
Any good docs on putting your compiled source into apache as a module, just like i'd normally do with the pre-compiled module.
Basically my test would be from CLI
php -r "header('Content-Type: text/plain', true, 4...
It seems that the PECL package "uploadprogress" works on files less then 10MB,
But Anything greater than 10MB, it fails miserably.
I've changed my php.ini to support larger upload, but it just doesn't return anything!
Any Help on this?
...