Home > pecl apc > error cannot download pecl/apc

Error Cannot Download Pecl/apc

Contents

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 this php pecl apc site About Us Learn more about Stack Overflow the company Business Learn more pecl apc install about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x

Php Pecl Apc X86_64

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 APC installation

Php Pecl Apc Devel

error on MediaTemple DV Server up vote 0 down vote favorite Hi I am trying to install APC via pecl in mediatemple DV server, but i am getting this error. Can someone help? [root@klph-jyj2 ~]# mkdir -p /root/chroot /root/tmp [root@klph-jyj2 ~]# mount --bind / /root/chroot [root@klph-jyj2 ~]# mount --bind /root/tmp /root/chroot/tmp [root@klph-jyj2 ~]# chroot /root/chroot [root@klph-jyj2 /]# pecl install apc downloading APC-3.1.13.tgz ... Starting pecl apcu to download APC-3.1.13.tgz (Unknown size) ....done: 3,582 bytes Could not get contents of package "/tmp/pear/download/APC-3.1.13.tgz". Invalid tgz file. Download of "pecl/apc" succeeded, but it is not a valid package archive Error: cannot download "pecl/APC" Download failed install failed install failed linux apc pecl mediatemple share|improve this question asked Aug 31 '14 at 10:09 FlatLander 173113 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote Googling for the error message, I find several results that indicate a bug in Ubuntu. Apparently there are some workarounds, the easiest being the installation of an uncompressed version: pecl install -Z apc share|improve this answer answered Aug 31 '14 at 21:12 lxg 5,689101839 By the way, you should try installing APC from the distribution, there should be a package php-apc. Unless you're using PHP 5.5+, then switch to APCU + opcache. –lxg Aug 31 '14 at 21:16 thanks for the comment, but I am using centos –FlatLander Sep 1 '14 at 3:23 Did you try installing the uncompressed archive? –lxg Sep 1 '14 at 6:52 add a comment| Your Answer draft saved d

Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss

Php Apc

the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users 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 http://stackoverflow.com/questions/25590948/apc-installation-error-on-mediatemple-dv-server Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Installing APC on CentOS 5.5 64bit error? up vote 0 down vote favorite # sudo pecl install apc downloading APC-3.1.6.tgz ... Starting to download APC-3.1.6.tgz (-1 bytes) ....done: 3,585 bytes Could not get contents of package http://serverfault.com/questions/220283/installing-apc-on-centos-5-5-64bit-error "/tmp/tmpspT8Og/APC-3.1.6.tgz". Invalid tgz file. Download of "pecl/apc" succeeded, but it is not a valid package archive Error: cannot download "pecl/APC" [root@D18634 tmp]# What does this error mean? How do I fix it, thank you. centos pecl share|improve this question asked Jan 9 '11 at 6:51 Andrew Fashion 59741324 1 it looks like it doesn't download the archive correctly. try again later. –Paul Jan 9 '11 at 7:02 Is /tmp (or /) full? Always the first thing to check! –mattdm Jan 9 '11 at 19:48 It is a known bug that has a workaround, as posted on stackoverflow.com/questions/23762141/… –Werner May 23 '14 at 8:21 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote would not be surprised to find that 3k file is an html page. perhaps a 404 or a 503? Also, did you install the pre-requisites? The default CentOS 5.5 requires up-to-date php-pear, php-devel, and httpd-devel before pecl can run and compile apc. share|improve this answer answered Mar 25 '11 at 16:04 ppostma1 111 a

Plans & Pricing Partners Support Resources Preview Forums Forums Quick Links Search Forums New Posts Search https://forums.cpanel.net/threads/instaling-pecl-uploadprogress-or-pecl-apc.105173/ titles only Posted by Member: Separate names with a comma. Newer Than: Search this thread only Search this forum only Display results as threads More... Useful http://astrio.net/blog/magento-performance-apc-cache/ Searches Recent Posts Resources Resources Quick Links Search Resources Most Active Authors Latest Reviews Feature Requests Defects Menu Log in Sign up The Community Forums pecl apc Interact with an entire community of cPanel & WHM users! cPanel Forums > cPanel & WHM® (for Linux® Servers) > General Discussion > This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More. Instaling pecl uploadprogress or pecl APC Discussion in 'General php pecl apc Discussion' started by vukomir, Jan 21, 2009. Thread Status: Not open for further replies. vukomir Registered Joined: Jan 21, 2009 Messages: 1 Likes Received: 0 Trophy Points: 1 hy i have a dedicated server WHM./cpanel and now i whant to install pecl APC or pecl uploadprogress at pel APC Code: downloading APC-3.0.19.tgz ... Starting to download APC-3.0.19.tgz (115,735 bytes) .....................done: 115,735 bytes 47 source files, building running: phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 1. Use apxs to set compile flags (if using APC with Apache)? : yes 1-1, 'all', 'abort', or Enter to continue: building in /root/tmp/pear-build-root/APC-3.0.19 running: /root/tmp/pear/APC/configure --with-apxs checking for egrep... grep -E checking for a sed that does not truncate output... /bin/sed checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checkin

Audit Services Magento Support Magento Upgrade Magento for Small Business Magento Enterprise Magento Outsourcing Blog Contact Home ASTRIO agency blog | Magento developers Magento performance: Configuring APC cache for Magento Magento performance: Configuring APC cache for Magento ▼ 27 May 2012 21:10:26 APC (Alternative PHP cache) is a free opcode cache for PHP, which optimize PHP intermediate code. APC engine cache the compiled bytecode of PHP scripts to avoid the overhead of parsing and compiling source code on each request. Magento stores its cache data in the file system by default. This is fine for small sites with low traffic. As you get more and more traffic and HTTP requests, file system reading and writing will become slower. The APC PHP module will not speed up the Magento itself, its eliminates the delay caused by having to parse Magento PHP files code on every HTTP request. It is recommend to use APC on production servers for Magento optimization. If you use Firebug Net panel in your browser, you can measure Magento page generation time before and after APC cache activation: Installation of APC on your server Nowadays all modern hosting providers support a variety of PHP cache engines including APC cache. You can ask your hosting support to install APC module for you. If you have a dedicated server, you can install APC yourself. The PHP APC is PECL module, and should be installed in your system as any PECL module for PHP, more details is here. Recommended APC configuration for Magento By default APC configuration is not adjusted for Magento. In some cases you will see fatal errors in server logs, e.g. "PHP Fatal error: Cannot redeclare class". To fix such errors you need to change default APC configuration in PHP.INI file or APC.INI (depending on your configuration). Here are recommended APC settings for Magento Community and Enterprise: apc.enabled=1 apc.shm_size=512M apc.num_files_

 

Related content

No related pages.