First of all you need to know how to close vi: ctrl-c : q! These are some of the basic and most common used command to get you started. :q -> quit :w -> save :q! -> quit and don't save :x -> save and quit :[number] -> go to line number G -> go to end of file dd -> delete line p -> "put" line yy -> "copy" line :s/[searchfor] -> searchu -> undo last type word Further examples can be found at: http://vim.wikia.com/wiki/Best_Vim_Tips http://www.digilife.be/quickreferences/QRC/Vi%20Reference%20Card.pdf
PHP Upgrade: Cannot load the ionCube PHP Loader - it was built with configuration 2.2.0, whereas running engine is API220090626,NTS
Cannot load the ionCube PHP Loader - it was built with configuration 2.2.0, whereas running engine is API220090626,NTS This PHP error is being caused because IonCube is trying to load the old version. To update this on Debian: EDIT: /etc/php5/conf.d/aa_ioncube.iniFIND: zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.soREPLACE: zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.3.so This error was caused when upgrading from PHP 5.2 to 5.3, I wanted to make sure no configuration files was overwritten. So when upgrading via apt-get, I made sure to always select the option for the local configuration files.
Its very simple to upgrade PHP 5.2 to PHP 5.3 for Debian Lenny and it's easy to upgrade via a few commands with the apt-get Add these lines to the apt sources at /etc/apt/sources.list deb http://php53.dotdeb.org stable all deb-src http://php53.dotdeb.org stable all The dotdeb repositry will require you to download and import the key wget http://www.dotdeb.org/dotdeb.gpg cat dotdeb.gpg | sudo apt-key add - Now all that is left is to upgrade: apt-get update apt-get dist-upgrade I have to confirm a couple of files that have to be overwriten.