PECL

PECL OAuth for PHP 5.3 on CentOS 5

独自空忆成欢 提交于 2019-12-11 09:37:43
问题 I am having trouble running pecl install oauth on centos 5. I installed PHP 5.3.6 using these instructions: http://www.webtatic.com/packages/php53/ When I try to run pecl install oauth I get: downloading oauth-1.2.2.tgz ... Starting to download oauth-1.2.2.tgz (45,348 bytes) .............done: 45,348 bytes 6 source files, building running: phpize Can't find PHP headers in /usr/include/php The php-devel package is required for use of this command. ERROR: `phpize' failed When I try yum -

Imagick Not Loaded in PHP

て烟熏妆下的殇ゞ 提交于 2019-12-11 06:23:56
问题 I have installed Imagick on Ubuntu 12.04 but still i get Class 'Imagick' not found When I check through terminal php -m I get [PHP Modules] bcmath bz2 calendar Core ctype date dba dom ereg exif fileinfo filter ftp gettext hash iconv imagick json libxml mbstring mhash openssl pcntl pcre PDO Phar posix readline Reflection session shmop SimpleXML soap sockets SPL standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter zip zlib [Zend Modules] but when i check loaded extension

PEAR claims php was compiled with old module

元气小坏坏 提交于 2019-12-11 03:49:55
问题 I just upgraded to php 5.6.4. When i do pear installs of various packages it complains that if have a module mismatch. example: sudo pecl install xdebug Failed loading /usr/local/php-5.6.4/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so: /usr/local/php-5.6.4/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so: undefined symbol: zend_execute_ex Zend OPcache requires Zend Engine API version 220131226. The Zend Engine API version 220100525 which is installed, is outdated. PHP Warning:

PECL OAuth-1.2.2 for Windows

混江龙づ霸主 提交于 2019-12-11 00:28:56
问题 I'm trying to get PECL OAuth to work on a Windows dev box (using WAMP). I found two dlls for older versions at Pierre's site but neither of them seem to work. Adding the DLL to the relevant wamp\bin\php\php5.x.x\ext directory and then ticking the option in the PHP extensions flyout does not add anything OAuth related to the output of phpinfo() and if I try to instantiate an OAuth object I get a "Class 'OAuth' not found" error. Is there anywhere (or any way) that I can get hold of working DLLs

Perl interpreter for PHP

霸气de小男生 提交于 2019-12-10 19:00:28
问题 Some of the functions I am planning for a new site of mine are already available as free Perl modules. Hence I am looking at the possibility of using them, rather than coding them again in PHP. I was planning to use exec or system function to call the perl script, which will be slow. But I came across a pecl extension which allows PHP to interpret perl code. Will this affect the performance of my other php pages, which are not using the perl script? I understand that the extra module will

Install PHP 7.0 Internationalization extension (Intl) on XAMPP on Mac

二次信任 提交于 2019-12-10 18:01:03
问题 I followed the instructions outlined here: Install PHP Internationalization extension (Intl) on XAMPP on Mac Ran sudo pecl install intl selected the correct files from the Cellar then this error happened: /private/tmp/pear/temp/intl/intl_error.h:24:10: fatal error: 'ext/standard/php_smart_str.h' file not found include ^ 1 error generated. make: *** [php_intl.lo] Error 1 ERROR: `make' failed No matter, did some research and found out that PHP 7.0.8 deprecated php.smart_str.h to php.smart

PHP Solr PECL Extension installation

若如初见. 提交于 2019-12-10 17:46:30
问题 I have installed pecl/solr using command, pecl install solr and pear using wget http://pear.php.net/go-pear.phar php go-pear.phar After Restart Apache , i am still getting error Fatal error: Class 'SolrClient' not found on php code $client = new SolrClient($options); Can any one please describe step by step installation of pecl/solr extension on Centos. 回答1: Just to simplify the procedure: 1 Install extension using pear install pecl/solr OR pecl install -n solr 2 Add this extension to php ini

Intervention/Image requires FileInfo

房东的猫 提交于 2019-12-10 16:53:05
问题 Im having trouble with Intervention/image, Laravel #composer install - intervention/image 2.1.1 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system. I understand that it is trying to retrieve the extension fileinfo however I am having 0 luck with getting the extension to load. I believe that as of PHP 5.4 the extension fileinfo is automatically enabled, however it isnt showing up in #php -m modules. #pecl install fileinfo doesnt work either because my

Fatal error: Class 'Memcache' not found (installed with pecl)

爷,独闯天下 提交于 2019-12-10 16:09:34
问题 I installed memcache via ssh, with: $ pecl install memcache And this was the output: https://pastee.org/w63sy And added this line to etc/php.ini : extension=memcache.so And when trying to initialize: /* MEMCACHE */ $memcache = new Memcache(); $memcache->pconnect('localhost',11211); I get: Fatal error: Class 'Memcache' not found in /home/piscolab/public_html/website.com/includes/sql.php on line 25 What am I doing wrong? I found this question but the problem was about his shared server. I am

Two versions of PHP on Mac OS Snow Leopard & Installing xdebug using PECL

ⅰ亾dé卋堺 提交于 2019-12-10 15:19:20
问题 I was using MAMP (standard) for PHP Development for some times before I read some posts about built-in Apache/PHP on Snow Leopard . I decided to shift to those I am provided with but seems to have many problems. The first thing is when I was using MAMP, I upgraded PEAR from 1.9.0 to 1.9.1 (to install PHPUnit later) with reference from this post. It worked well for me with the phpunit command. I also have Xcode4 but removed it few weeks ago (I mention this because I don't know what could be