PECL

wamp server php extension PECL Missing

99封情书 提交于 2020-01-03 00:44:07
问题 Does any one know why the PECL extension in wamp server does not exists? I am trying to use the http_build_url() but I get this error: Fatal error: Call to undefined function http_build_url() in ... 回答1: The function http_build_url() is part of the PECL extension pecl_http . In your WAMP directory locate pecl.exe and open a command shell. Type: pecl install pecl_http and the function call should work. 回答2: i have found this source of pecl_http package, but dont know how to make it work on

wamp server php extension PECL Missing

我是研究僧i 提交于 2020-01-03 00:44:05
问题 Does any one know why the PECL extension in wamp server does not exists? I am trying to use the http_build_url() but I get this error: Fatal error: Call to undefined function http_build_url() in ... 回答1: The function http_build_url() is part of the PECL extension pecl_http . In your WAMP directory locate pecl.exe and open a command shell. Type: pecl install pecl_http and the function call should work. 回答2: i have found this source of pecl_http package, but dont know how to make it work on

phpize won't work on Mac OS X Lion

雨燕双飞 提交于 2019-12-31 09:11:13
问题 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

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

試著忘記壹切 提交于 2019-12-31 04:20:08
问题 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

“PHP Fatal error: Class 'HttpRequest' not found”

孤者浪人 提交于 2019-12-27 17:40:14
问题 I've been stuck trying to solve this problem in many ways, reading a lot of posts but still having no luck. I work on a Mac, OSX 10.7 Lion, and I'm writing a plugin for a WordPress site (php files) using MAMP, and at one point I have to make an HTTP request: $request = new HttpRequest('something'); $request->setMethod(HTTP_METH_GET); There's an error when executing this request and when I checked the log file, here's the message: "PHP Fatal error: Class 'HttpRequest' not found in (the_php

Php uploadprogress installation

浪子不回头ぞ 提交于 2019-12-25 07:26:56
问题 I am using " pecl install uploadprogress " command for intalling php uploadprogress in my localhost(windows-xampp). But in CMD it is giving an error that " ERROR: failed to mkdir C:\php\pear\docs\uploadprogress\examples " What kind of error is this? How can I install this upload progress on server My Xampp is installed in *C:/xamp_server/xampp* 来源: https://stackoverflow.com/questions/15359694/php-uploadprogress-installation

phpseclib vs libssh2

橙三吉。 提交于 2019-12-24 05:00:42
问题 In one of my projects am going to connect with alot of servers remotely through SSH using PHP. There are two solutions for it, phpseclib and the ssh2 PECL Extension for PHP which is based on the libssh2 library. So can anyone please compare both and mention their pros and cons etc? 回答1: phpseclib has pretty much zero server requirements. So long as the server supports PHP it'll work. libssh2, in contrast, has to be installed on the server for it to work and a lot of servers don't have it

How do you change the default Pear/PECL build folder from /var/tmp?

非 Y 不嫁゛ 提交于 2019-12-24 02:31:48
问题 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 PDO-1.0.3.tgz (52,613 bytes) .............done: 52,613 bytes 12 source files, building running: phpize Configuring for: PHP Api Version: 20041225 Zend Module Api

How do you change the default Pear/PECL build folder from /var/tmp?

ε祈祈猫儿з 提交于 2019-12-24 02:31:29
问题 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 PDO-1.0.3.tgz (52,613 bytes) .............done: 52,613 bytes 12 source files, building running: phpize Configuring for: PHP Api Version: 20041225 Zend Module Api

APC vs pecl uploadprogress

旧城冷巷雨未停 提交于 2019-12-23 20:25:44
问题 In the Status Report page in drupal, i usually find this message (on fresh installation): Your server is capable of displaying file upload progress, but does not have the required libraries. It is recommended to install the PECL uploadprogress library (preferred) or to install APC. But i never understood why its preferred the PECL uploadprogress library over APC, and that's my question today. Is pecl uploadprogress faster, take less system resources, or is more easy to install/configure/use