Skip to content

Instantly share code, notes, and snippets.

@corny
Created April 3, 2013 14:16
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save corny/5301590 to your computer and use it in GitHub Desktop.
Save corny/5301590 to your computer and use it in GitHub Desktop.
Installation of Zend Guard 5.5.0 using PHP 5.3 and Ubuntu 12.04 (64 bit).
#!/bin/bash
cd /root
wget http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz
tar xzf ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz
cp ZendGuardLoader-php-5.3-linux-glibc23-x86_64/php-5.3.x/ZendGuardLoader.so /usr/lib/php5/20090626/
file=/usr/lib/php5/20090626/ZendGuardLoader.so
echo zend_extension=$file > /etc/php5/conf.d/zend_extensions.ini
chmod 644 $file
chown 0:0 $file
service apache2 reload
Copy link

ghost commented Dec 17, 2013

Nice, works great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment