Recently a friend had difficulty installing Alternative PHP Cache (APC) and upload progress for his Drupal CMS on Debian VPS. Therefore I tought of sharing this post about how to setup and run your virtual private server with most useful PHP packages.
I would assume you have a Debian VPS, CentOs or Ubuntu and you would like to install
APC, Zend Optimizer and eAccelerator for the best PHP performances or if they are required
by some third party applications.
I normally like to install everything on Debian, CentOs or Ubuntu using the yum (Yellow
dog Updater, Modified) package manger to make sure that updates for all applications
are uniform and its easy to do, easy to search for available packages and easier to
type instead of apt-get.
Use this grep commend
locate apache | egrep "\/apache$"
[myserver]$: locate apache | egrep "\/apache$"