Home > install xdebug > error cannot download pecl/xdebug

error cannot download pecl/xdebug

here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of php pecl xdebug this site About Us Learn more about Stack Overflow the company Business Learn pecl install xdebug more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question install xdebug windows x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Installing

What Is Xdebug

xdebug with PHP 5.5 up vote 16 down vote favorite 7 I've read quite a lot answers but couldn't figure out why xdebug doesn't work. php.ini: [xdebug] zend_extension="/usr/lib/php5/20090626/xdebug.so" php -v: PHP 5.5.6-1+debphp.org~precise+2 (cli) (built: Nov 21 2013 14:31:41) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies with Zend OPcache v7.0.3-dev, Copyright (c) 1999-2013, by Zend Technologies /usr/lib/php5/20090626/xdebug.so xdebug install ubuntu does exist. No zend optimizer in php.ini. Also if I try to install xdebug: pecl/xdebug is already installed and is the same as the released version 2.2.3 install failed Thanks in advance. php xdebug share|improve this question asked Dec 8 '13 at 19:23 Victor 1,29412145 Maybe a good time to validate an answer here? –Jimmy Kane Jan 13 '15 at 13:03 See also superuser.com/questions/555830/cant-link-xdebug-to-php-5-4 –Cees Timmerman Feb 3 at 17:10 add a comment| 5 Answers 5 active oldest votes up vote 12 down vote Since this seems to bother more and more people trying to install xdebug via pecl here are the options: Windows: Get the binary Ubuntu (>12.04): sudo apt-get install php5-xdebug Linux (other): via package manager or compile the latest source Using PECL to install X-Debug for PHP5.5 as @Slayer Birden also answered will not work up to now and I don't think it will change in the near future. share|improve this answer answered Feb 4 '14 at 21:01 Jimmy Kane 6,64643568 I just used PECL to install xdebug for PHP 5.5. –Cees Timmerman Feb 3 at 17:09 @C

Level :: PHPxdebug Package Information Summary Provides functions for function traces and profiling xdebug phpstorm Maintainers Derick Rethans (lead) [wishlist] [details] License

Xdebug Linux

BSD style Description The Xdebug extension helps you debugging your script by providing

Could Not Extract The Package.xml File From

a lot of valuable debug information. The debug information that Xdebug can provide includes the following: * stack and function traces http://stackoverflow.com/questions/20457856/installing-xdebug-with-php-5-5 in error messages with: o full parameter display for user defined functions o function name, file name and line indications o support for member functions * memory allocation * protection for infinite recursions Xdebug also provides: * profiling information for PHP scripts * https://pecl.php.net/package/xdebug code coverage analysis * capabilities to debug your scripts interactively with a debug client Homepage http://xdebug.org/ [ Latest Tarball ] [ Changelog ] [ View Statistics ] [ Browse Source ][ Package Bugs ][ View Documentation ] Available Releases Version State Release Date Downloads 2.4.1 stable 2016-08-02 xdebug-2.4.1.tgz (259.3kB)DLL [Changelog] 2.4.0 stable 2016-03-04 xdebug-2.4.0.tgz (258.6kB)DLL [Changelog] 2.4.0RC4 beta 2016-01-27 xdebug-2.4.0RC4.tgz (258.3kB)DLL [Changelog] 2.4.0RC3 beta 2015-12-12 xdebug-2.4.0RC3.tgz (257.8kB)DLL [Changelog] 2.4.0RC2 beta 2015-12-03 xdebug-2.4.0RC2.tgz (257.3kB)DLL [Changelog] 2.4.0RC1 beta 2015-11-21 xdebug-2.4.0RC1.tgz (256.9kB)DLL [Changelog] 2.4.0beta1 beta 2015-11-09 xdebug-2.4.0beta1.tgz (263.0kB) [Changelog] 2.3.3 stable 2015-11-09 xdebug-2.3.3.tgz (262.1kB)DLL [Changelog] 2.3.2 stable 2015-03-22 xdebug-2.3.2.tgz (260.0kB)DLL [Changelog] 2.3.1 stable 2015-02-24 xdebug-2.3.1.tgz (260.0kB)DLL [Changelog] 2.3.0 stable 2015-02-22 xdebug-2.3.0.tgz (259.9kB) [Changelog] 2.2.7 stable 2015-01-22 xdebug-2.2.7.tgz (250.4kB)DLL [Changelog] 2.2.6 stable 2014-11-15 xdebug-2.2.6.tgz (250.2kB)DLL [Changelog] 2.2.5 stable 2014-04-29

или зарегистрируйтесь. 1 час 1 день 1 неделя 1 месяц Навсегда Хотите сделать посильный вклад в развитие Ubuntu и русскоязычного сообщества? Помогите нам http://forum.ubuntu.ru/index.php?topic=245986.0 с документацией! Форум русскоязычного сообщества Ubuntu» Поддержка» Программное http://naimrajib.blogspot.com/2014/09/install-xdebug-for-php5.html обеспечение (Модератор: Punko)» Download of "pecl/memcache" succeeded, but it is not a valid package archive « предыдущая тема следующая тема » Печать Страницы: [1] Вниз Автор Тема: Download of "pecl/memcache" succeeded, install xdebug but it is not a valid package archive (Прочитано 1334 раз) 0 Пользователей и 1 Гость просматривают эту тему. toxi Автор темы Любитель Сообщений: 81 Павловский Роман Олегович Download of "pecl/memcache" succeeded, but it is not a valid error cannot download package archive « : 24 Июнь 2014, 12:11:26 » Здравствуйте.Почему появляется ошибка и как проверить, существует ли сам файл на сервере и как его установить вручную можно?ПричемКод: [Выделить]root@NAT-server:~# pecl install memcache
downloading memcache-2.2.7.tgz ...
Starting to download memcache-2.2.7.tgz (Unknown size)
....done: 3,582 bytes
Could not get contents of package "/build/buildd/php5-5.3.2/pear-build-download/
Download of "pecl/memcache" succeeded, but it is not a valid package archive
Error: cannot download "pecl/memcache"
Download failed
install failed
root@NAT-server:~#
Установлено:Код: [Выделить]root@NAT-server:~# apt-get install build-essential
Версия ядра:Код: [Выделить]root@NAT-server:~# uname -a
Linux NAT-server 2.6.32-33-server #70-Ubuntu SMP Thu Jul 7 22:28:30 UTC 2011 x86_64 GNU/LinuxСервер:Код: [Выделить]Ubuntu 10.04.3 LTSUPD: Установка прошла. Не был установлен пакет:Код: [Выделить]root@NAT-server:~# apt-get install php5-dev libmemcache-devНо теперь не проходит установка memcached:Код:

like: Download of "pecl/xdebug" succeeded, but it is not a valid package archive Error: cannot download "pecl/xdebug" Then try by the bellow command: sudo pecl install -Z xdebug 2. After the command execution end, the build process complete with this command and you will see message in the terminal like bellow: Build process completed successfullyInstalling '/usr/lib/php5/20121212+lfs/xdebug.so'install ok: channel://pecl.php.net/xdebug-2.2.5configuration option "php_ini" is not set to php.ini locationYou should add "zend_extension=xdebug.so" to php.ini 3. Then edit php.ini by the following command: sudo gedit /etc/php/apache2/php.ini and append like bellow: zend_extension = /usr/lib/php5/20121212+lfs/xdebug.so 4. Then restart apache by the bellow command: sudo service apache2 restart Or you may follow the xdebug wizard instruction: http://www.xdebug.org/wizard.php Posted by Naim Rajib at 10:31 PM Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest No comments: Post a Comment Newer Post Older Post Home Subscribe to: Post Comments (Atom) Blog Archive ▼ 2014 (5) ▼ September (2) JavaScript Debug in WebStorm Install xdebug for PHP5 ► June (2) ► January (1) ► 2013 (9) ► December (1) ► November (2) ► August (2) ► May (4) ► 2012 (2) ► December (1) ► June (1) About Me Naim Rajib View my complete profile Pages Home Search This Blog Loading... Picture Window template. Powered by Blogger.

 

Related content

php xdebug error log

Php Xdebug Error Log p here for a quick overview of the site Help Center Detailed answers to Install Xdebug Windows any questions you might have Meta Discuss the workings and policies xdebug client of this site About Us Learn more about Stack Overflow the company Business Learn more Xdebug idekey Phpstorm about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack xdebug auto trace Overflow is a community of million programmers just like you helping each other Join them it only takes a