PECL

PHP Fatal error: Class 'OAuth'

感情迁移 提交于 2019-12-03 20:18:14
I searched the site for hours looking for answer and nothing helped me. I’ve installed PHP/Apache2/PECL/OAuth and edited php.ini for extension=oauth . I get this error everything I type "php example.php" I'd set the token and everything required in example.php PHP Fatal error: Class 'OAuth' not found in /home/twitter/TwitterAutoReply.php on line 22 My php files is example.php and TwitterAutoReply.php https://raw.github.com/gist/820281/303a61ee9b324070e803e51806552e64fccfdd4c/example.php and https://gist.github.com/raw/820281/6bf1b6d78dd05daef319ce84a88eedf139a44b5a/TwitterAutoReply.php From

Problems installing Symfony 2.4.1 lib-icu 4.4 dependency

余生颓废 提交于 2019-12-03 16:10:59
I'm having a problem identical to this one , but the solution provided there isn't working for me. I downloaded the Symfony 2.4.1 Standard Vendors with Vendors package from the Symfony Downloads Page . After extracting the files and downloading composer.phar, I run php composer.phar install and get this error: Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Your requirements could not be resolved to an installable set of packages. Problem 1 - symfony/icu v1.2.0 requires lib-icu >=4.4 -> the requested linked library icu has

PECL install failed

假如想象 提交于 2019-12-03 13:19:36
问题 after upgrading from PHP5.2.6 to php 5.3. it seams, I also have to reinstall the PHP memcache-module. So I downloaded the newest version of memcache (3.0.6) and followed this documentation: http://www.php.net/manual/en/install.pecl.pear.php pecl install memcache Which results in the following error-message: No releases available for package "pecl.php.net/memcache" install failed what's going on here? By the way: the server is not connected to the Internet, but that shouldn't be a problem,

Install oAuth PECL error: Cannot install, php_dir for channel “pecl.php.net” is not writeable by the current user

霸气de小男生 提交于 2019-12-03 11:54:55
I'm trying to instal oAuth on OS X, but I am getting this error in the Terminal: Cannot install, php_dir for channel "pecl.php.net" is not writeable by the current user How do I allow it to be writable? LonnyLot First find out where the php_dir is. You can do this by using the 'config-get' command: pecl config-get php_dir After this you can either: Change the ownership of that folder (and any needed child folders) sudo chown <username> <php_dir> or Set the php_dir to a different folder pecl config-set php_dir /path/to/new/dir The easiest way is probably to append sudo to the front of your

pecl:command not found

懵懂的女人 提交于 2019-12-03 10:15:35
I'm trying to run the following command in terminal on my macbook pro cd /tmp; pecl download memcached but im getting pecl:command not found. after a days googling I cant find out whats up. Does anyone have a solution? At least on Arch Linux you must install php-pear package for the pecl tool by using this command: pacman -S php-pear Chadams apt-get update apt-get install php-pear php5-dev I know, old post but for anyone else. On Windows PECL and PEAR commands are not found but they are pre-installed in PHP. They are not in the windows path so you have to cd into the PEAR directory to run the

Installing AMQP through PECL

末鹿安然 提交于 2019-12-03 09:36:23
问题 I'm trying to install the RabbitMQ PECL extension but after running sudo pecl install amqp I get the following cryptic error message, which extensive googling hasn't helped resolve. I have these packages installed: librabbitmq - RabbitMQ C client itself) librabbitmq-dev - dev headers etc. and RabbitMQ running successfully on localhost Maybe it could be a mismatch in the version of the C client and what the PECL extension expects, anybody else come across this one? Make output below.... Cheers

Can't get to install 'intl' extension for php on debian

浪子不回头ぞ 提交于 2019-12-03 06:32:32
问题 I have a debian server and I want to install the "intl" extension through pecl. During the installation it asks me: "Specify where ICU libraries and headers can be found [DEFAULT] :" Here I've been trying several options, including leaving it empty to use DEFAULT, but I get the following error: configure: error: C++ preprocessor "/lib/cpp" fails sanity check See config.log' for more details. ERROR: /tmp/pear/temp/intl/configure --with-icu-dir=DEFAULT' failed I've installed php5.3 with: make &

Why are there no longer Windows binaries for PECL extensions like pecl_http?

寵の児 提交于 2019-12-03 06:02:36
I'm working on a PHP project running on Windows and it would be so very handy to be able to use pecl_http rather than working with cURL and re-inventing the wheel in order to do all the cool stuff the pecl extension does like parsing headers and so forth. Everywhere I read (including the PHP site) is that the Windows binary for pecl_http is no longer packaged with any PHP installation. I can't find any explanation as to why not anywhere. Also, http://pecl4win.php.net/ has been down for ages and I can only assume that the pecl4win project is dead. Does anyone know the story about what happened

pecl install apc isn't working. shtool does not exist

限于喜欢 提交于 2019-12-03 05:02:59
问题 I am an absolute newbie…didn't learn about SSh till an hour ago and got my first VPS 2 hours ago. Still learning! So I'm installing MediaWiki and need to add APC extension. But having a lil trouble. Any ideas/tips? [root@www ~]# pecl install apc` downloading APC-3.1.13.tgz ... Starting to download APC-3.1.13.tgz (171,591 bytes) .....................................done: 171,591 bytes 55 source files, building running: phpize Configuring for: PHP Api Version: 20090626 Zend Module Api No:

Can I install the memcached PHP extension with PECL?

守給你的承諾、 提交于 2019-12-03 03:56:39
问题 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'