Skip to content

Instantly share code, notes, and snippets.

View tomcoonen's full-sized avatar
🏠
Working from home

Tom Coonen tomcoonen

🏠
Working from home
View GitHub Profile
@tomcoonen
tomcoonen / install_zend_guard.sh
Last active March 8, 2018 11:05 — forked from corny/install_zend_guard.sh
Installation of Zend Guard 6.0.0 using PHP 5.4 and Ubuntu 12.04 (32 bit).
#!/bin/bash
wget http://downloads.zend.com/guard/6.0.0/ZendGuardLoader-70429-PHP-5.4-linux-glibc23-i386.tar.gz
tar xzf ZendGuardLoader-70429-PHP-5.4-linux-glibc23-i386.tar.gz
cp ZendGuardLoader-70429-PHP-5.4-linux-glibc23-i386/php-5.4.x/ZendGuardLoader.so /usr/lib/php5/20100525+lfs/
file=/usr/lib/php5/20100525+lfs/ZendGuardLoader.so
echo zend_extension=$file > /etc/php5/conf.d/zend_extensions.ini
chmod 644 $file
chown 0:0 $file