Pecl Error
Contents |
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings pecl xml extension not found and policies of this site About Us Learn more about Stack Overflow pecl warning invalid argument supplied for foreach in command php on line 259 the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users pecl warning: invalid argument supplied for foreach() in command.php on line 249 Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it
Php Pecl Xml Extension Not Found
works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top PECL command produces long list of errors up vote 16 down vote favorite 5 Currently running PHP 5.4 on CentOS 6.5. I installed the webtatic php55w package then installed PEAR+PECL without issue along with redis and mongo through PECL. Shortly after, php warning: invalid argument supplied for foreach() in /usr/share/php/pear/command.php on line 249 I realized 5.5 is not compatible with the framework I was working with so I yum erased php55w and installed php54w in it's place. Now the pecl command doesn't work at all. It just produces this really long string of errors every time I issue any pecl command (abbreviated...most repeated dozens of times): Warning: Invalid argument supplied for foreach() in Command.php on line 259 Warning: Invalid argument supplied for foreach() in /usr/share/pear/PEAR/Command.php on line 259 ...etc etc etc... Notice: Undefined index: honorsbaseinstall in Role.php on line 180 Notice: Undefined index: honorsbaseinstall in Role.php on line 180 ...etc etc etc... Notice: Undefined index: installable in Role.php on line 145 Notice: Undefined index: installable in Role.php on line 145 ...etc etc etc... Notice: Undefined index: phpfile in Role.php on line 212 Notice: Undefined index: phpfile in Role.php on line 212 ...etc etc etc... Notice: Undefined index: config_vars in Role.php on line 49 Notice: Undefined index: config_vars in Role.php on line 49 ...etc etc etc... Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 259 Warning: Invalid argument supplied for foreach() in /usr/share
here for a quick overview of the site Help Center Detailed answers to any questions warning: invalid argument supplied for foreach() in /usr/share/pear/pear/command.php on line 249 you might have Meta Discuss the workings and policies of this
Php Xml Extension
site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers
Install Php-pear
or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a http://serverfault.com/questions/589877/pecl-command-produces-long-list-of-errors community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Installing PECL fails, raphf.so not found up vote 2 down vote favorite I am trying to install MediaWiki on my VPS running Ubuntu 14.10 and php 5.5.9-1ubuntu4.11. I installed php5 using this guide. Now http://stackoverflow.com/questions/32375742/installing-pecl-fails-raphf-so-not-found am seeing the MediaWiki setup file. It tells me that the optional PECL is missing: "Warning: The intl PECL extension is not available to handle Unicode normalization, falling back to slow pure-PHP implementation." phpinfo() confirms this (CTRL+F for "PECL" = 0 hits). However, if I run sudo pecl install pecl_http I get an error: ... checking for ext/raphf support... no configure: error: Please install pecl/raphf and activate extension=raphf.so in your php.ini ERROR: `/tmp/pear/temp/pecl_http/configure --with-http-zlib-dir=/usr --with-http-libcurl-dir=/usr --with-http-libevent-dir=/usr --with-http-libidn-dir=/usr' failed The same error as this prior question on SO. I have tried all the things mentioned in the answers there including adding the three "extension=" lines to php.ini. Trying to install raphf leads to: sudo pecl install raphf pecl/raphf is already installed and is the same as the released version 1.1.0 install failed phpinfo() lists RAPHF 1.1.0 as installed too. A script to test (accessed via the browser, not through console): echo extension_loaded(raphf) ? "raphf loaded" : "raphf not l
Sign in Pricing Blog Support Search GitHub This repository Watch 28 Star 111 Fork 25 gplessis/dotdeb-php Code Issues 19 Pull requests 1 Projects 0 https://github.com/gplessis/dotdeb-php/issues/123 Pulse Graphs New issue PECL error on launch - "Parse error" #123 Closed avggeek opened this Issue Apr 4, 2016 · 7 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 7 participants avggeek commented Apr 4, 2016 Hello, Per the recommended bug report format: What is your distribution? Debian GNU/Linux 8.4 invalid argument (jessie) What is your architecture? amd64 on KVM (Proxmox) Which exact PHP version are you using? $ php -v PHP 7.0.5-1~dotdeb+8.1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies What is the result of dpkg -l 'php*' | grep '^.i' invalid argument supplied ? ii php-common 21-1~dotdeb+8.1 all Common files for PHP packages ii php-pear 5.6.19+dfsg-0+deb8u1 all PEAR - PHP Extension and Application Repository ii php-readline 21-1~dotdeb+8.1 all readline module for PHP [default] ii php5-cli 5.6.19+dfsg-0+deb8u1 amd64 command-line interpreter for the php5 scripting language ii php5-common 5.6.19+dfsg-0+deb8u1 amd64 Common files for packages built from the php5 source ii php5-dev 5.6.19+dfsg-0+deb8u1 amd64 Files for PHP5 module development ii php5-json 1.3.6-1 amd64 JSON module for php5 ii php5-readline 5.6.19+dfsg-0+deb8u1 amd64 Readline module for php5 ii php7.0-apcu 5.1.3-1~dotdeb+8.1 amd64 APC User Cache for PHP ii php7.0-bz2 7.0.5-1~dotdeb+8.1 amd64 bzip2 module for PHP ii php7.0-cgi 7.0.5-1~dotdeb+8.1 amd64 server-side, HTML-embedded scripting language (CGI binary) ii php7.0-cli 7.0.5-1~dotdeb+8.1 amd64 command-line interpreter for the PHP scripting language ii php7.0-common 7.0.5-1~dotdeb+8.1 all Common files for packages built from the PHP source ii php7.0-curl 7.0.5-1~dotdeb+8.1 amd64 CURL module for PHP ii php7.0-dev 7.0.5-1~dotdeb+8.1 amd64 Files for PHP7.0 module development ii php7.0-fpm 7.0.5-1~dotdeb+8.1 amd64 server-side, HTML-embedded scripting language (FPM-CGI binary) ii php7.0-gd 7.0.5-1~dotdeb+8.1 amd64 GD module for PHP ii php7.0-intl 7.0.5-1~dotdeb+8.1 amd64 Internationalisation module for PHP ii php7.0-json 7.0.5-1~dotdeb+8.1 amd64 J