Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ad-inserter domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/blog.webeats.it/httpdocs/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the cookie-law-info domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/blog.webeats.it/httpdocs/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/blog.webeats.it/httpdocs/wp-includes/functions.php on line 6114
IonCube Loaders su Ubuntu 14.04 e 15.04 - Blog WebEats

Installare l’extension IonCube Loaders su Ubuntu 14.04 e Ubuntu 15.04, tool per l’encrypt e il decrypt di PHP

IonCube è un tool per l’encrypt e il decrypt di PHP che ci permette quindi di proteggere i nostri progetti.

Affinchè sia attivo sul nostro webserver (Apache o nginx), è necessario scaricare dei moduli disponibili per le varie versioni di PHP 5.4, 5.5 e 5.6 e per le architetture a 32bit e 64bit.

Scarichiamo prima di tutto il loader

wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz

scompattiamo

tar -zxvf ioncube_loaders_lin_x86-64.tar.gz -C /usr/local/src/

verifichiamo la nostra versione di PHP con

php -v

Ora entriamo nella directory giusta, e copiamo le librerie

cd /usr/local/src/ioncube/
mkdir /usr/local/ioncube
cp ioncube_loader_lin_5.6.so ioncube_loader_lin_5.6_ts.so /usr/local/ioncube/

Ora è necessario modificare i vari php.ini presenti sul nostro sistema
/etc/php5/apache2/php.ini
/etc/php5/cgi/php.ini
/etc/php5/cli/php.ini
/etc/php5/fpm/php.ini

aggiungendo la linea
zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.5.so

riavviamo i servizi

service php5-fpm restart
service nginx restart
service apache restart