How can i install APC using cPanel?

Events happening in the community are now at Drupal community events on www.drupal.org.
shamio's picture

I have installed Boost module for my website to speed up it and it works excellent but as i hosting my site on a shared server, i want to speed up php by using APC but i don't know ho to install it through cPanel. I have read many tutorials but none of them explained how to install APC without using SSH and command line. I am not expert in command line ans SSH and i like to know how i can do it without using command line and SSH.

Comments

Are you paying for shared

cweagans's picture

Are you paying for shared hosting? Or do you own the server and you've installed cpanel on it?

If it's the former, you probably won't be able to do this.

If it's the latter, you're going to have to use the command line. There's just no way around it.

--
Cameron Eagans
http://cweagans.net

_

shamio's picture

Yes, i am paying for that shared server. Its a managed shared server with cPanel control panel. Its hosted on Hostgator.

Doubt is the father of invention ... ZendegiyeSabz

Yeah, you can't install APC

cweagans's picture

Yeah, you can't install APC then. You need to be on a VPS or a dedicated server to be able to install APC. There's some ways around this, but seeing as you're trying to avoid the command line anyways, I wouldn't recommend trying them.

--
Cameron Eagans
http://cweagans.net

_

shamio's picture

Thank you for your help. but if i move to VPS or a dedicated server, how can i install APC using cPanel and without using command line?

Doubt is the father of invention ... ZendegiyeSabz

If you move to a VPS or dedi,

cweagans's picture

If you move to a VPS or dedi, you shouldn't install cPanel. Just learn to install Apache and whatnot. It's not that difficult.

If you really must use cPanel, though, there are a ton of tutorials for how to do it. Just google for "install apc with cpanel" or something.

--
Cameron Eagans
http://cweagans.net

Control panels

sam moore's picture

If you do want a control panel on a dedicated or VPS server, I'd recommend webmin. Still won't do APC for you, but it's a lot more useful IMHO than Cpanel.

If you're looking for a reasonable, competent host who will set up APC, memcache, varnish and SOLR for you, I'd recommend Drupion. They do have some inexpensive shared hosting accounts, and are very Drupal-centric.

Webmin

sam moore's picture

Actually let me clarify this:
" Still won't do APC for you, but it's a lot more useful IMHO than Cpanel."

What I meant was that on your shared hosting, you probably don't have permission to install packages, no matter what control panel you're using.

If you're logged in to a VPS with a sufficiently powerful account, webmin can install anything in the repository that your server's pointed at, just as you would do from the command line. That includes php-apc.

Sounds like you're not going this way anyhow , but I didn't want to malign webmin :-)

_

shamio's picture

@ Sam Moore, Thanks for your suggestion, but their services doesn't seem inexpensive for a shared hosting. They ask a setup fee and its unusual for shared plans. Can you explain me a little more why Webmin is better than cPanel in your opinion? I thought cPanel is the best and easiest to use control panel.

Doubt is the father of invention ... ZendegiyeSabz

Webmin

sam moore's picture

Well I thought their $10/month plan was pretty reasonable, for what you get - but if the setup is the sticking point, then there's that. I use their VPS service for my production servers, and I can tell you it's worth every penny. But that calculus works for me - YMMV of course :-)

Webmin gives you a really deep level of access to your system settings, though on a shared host you won't be allowed to change some of those. It's great for VPS and dedicated accounts. It has a modules to offer some of the reseller features of Cpanel (virtualmin and usermin).
It's got its own mini-server so it'll still be running even if you bork Apache.
Also it's free.

More discussion:
http://serverfault.com/a/110406
http://www.crucial.com.au/blog/2012/07/08/cpanelwhm-vs-webminvirtualmin/

_

shamio's picture

Thanks for your explanation and the links. But as i am using cPanel currently, do you know any guide to install APC on cPanel? I am interested in learning it

Doubt is the father of invention ... ZendegiyeSabz

The guides very simple: You

Jamie Holly's picture

The guides very simple:

You can't!

cPanel doesn't have support for APC. To install it you have to do it the command line way, the same as if you don't have cPanel. But being on shared hosting, you aren't going to get it. If you want APC you'll have to go with a VPS or dedicated.


HollyIT - Grab the Netbeans Drupal Development Tool at GitHub.

OK, thanks. I just wanted to

shamio's picture

OK, thanks. I just wanted to learn it, but it seems its not possible to install it on cPanel :( .i think i should switch to Webmin.

Doubt is the father of invention ... ZendegiyeSabz

On shared hosting you won't

Jamie Holly's picture

On shared hosting you won't be able to switch to Webmin. You'll need a server you totally control, such as a VPS. Also most of your run of the mill hosting companies (like HostGator) don't offer the same level of server management if you don't have cPanel. Basically they use people trained in cPanel usage for support, instead of full blown *nix admins.


HollyIT - Grab the Netbeans Drupal Development Tool at GitHub.

Good post

thuthao's picture

I like this very much,very good post.

APC can be installed in

gerold's picture

APC can be installed in cPanel/WHM server and i've done it several times without command line (it's is also possible via command line, install from source). This applies to entire server and not just on one cPanel account so if you're on a shared hosting account you can't do it.

If you own your entire cPanel server, login to WHM, then go to "Home -> Software -> Module Installers". Type "APC" and Search, then click on Install. That's it.

Webmin is smaller in scope and control compare to cPanel, but you can add Virtualmin. Use Zpanel (free) if you don't want to pay cPanel license. But if you can avoid these control panel, it is better to setup your server/lamp-stack directly.

Hth

_

shamio's picture

Thanks gerold for your help in installation and your notes about cPanel and webmin. I don';t have dedicated server currently, so i can't install it now. But its seems too easy to install APC if i move to dedicated server. Thanks again.

Doubt is the father of invention ... ZendegiyeSabz