First download ioncube loaders:
http://www.ioncube.com/loaders.php

First copy ioncube_loader_lin_5.3.so to /usr/local/ioncube.

Then edit php.ini

and change [Zend] section to look like this:

restart Apache