Zendguard on ISPCP ???

General discussion on Zend Guard / Optimizer

Zendguard on ISPCP ???

Postby jaawis on Tue Nov 13, 2012 4:38 pm

I tried installing Zend guard on ISPCP, but this bitch aint working

Tried these stepts:

wget ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz

tar -xf ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz

cd ZendGuardLoader-php-5.3-linux-glibc23-i386/php-5.3.x/

mkdir -p /usr/local/php/

cp ZendGuardLoader. so /usr/local/php/

nano /etc/php.ini

## at the end of your php.ini , right after Ioncube Loder... put the following line:
## zend_extension = "/usr/local/php/ZendGuardLoader. SO"

## save and exit :OX ctrl+O ctrl_X

## service httpd restart

## verify php has loaded the zend loader

## php -m

you'll see


PHP Code:

[Zend Modules]
Zend Guard Loader

BUTT, At the end Zend Guard piece of xxxx is not loaded...
jaawis
 
Posts: 5
Joined: Tue Nov 13, 2012 4:30 pm

Re: Zendguard on ISPCP ???

Postby kentatzend on Tue Nov 13, 2012 6:18 pm

Does your php.ini file really have "/usr/local/php/ZendGuardLoader. SO" exactly? I ask because this is a very odd filename with a space after the "." and the case is wrong for the extension. it is probably really /usr/local/php/ZendGuardLoader.so. BTW Your cp command looks suspect too .... soit might not have even copied the file.
User avatar
kentatzend
 
Posts: 1778
Joined: Thu Dec 11, 2008 1:08 pm

Re: Zendguard on ISPCP ???

Postby jaawis on Sun Nov 25, 2012 6:30 pm

I was no
jaawis
 
Posts: 5
Joined: Tue Nov 13, 2012 4:30 pm

Re: Zendguard on ISPCP ???

Postby jaawis on Sun Nov 25, 2012 6:42 pm

I could post url, thats why i put a space between that file

Now i tried installing zend optimizer
i did:

wget ZendOptimizer-3.3.3-linux-glibc23-x86_64.tar.gz
tar xfvz ZendOptimizer-3.3.3-linux-glibc23-x86_64.tar.gz
rm ZendOptimizer-3.3.3-linux-glibc23-x86_64.tar.gz
mv ZendOptimizer-3.3.3-linux-glibc23-x86_64 ZendOptimizer-3.3.3 && cd ZendOptimizer-3.3.3

Then install.ssh

path php.ini: /var/www/fcgi/domain/php5/php.ini and /etc/ispcp/fcgi/parts/master/php5/php.ini
path apachetl: /usr/sbin/apachectl
path apachebinary: /usr/sbin/apache2

Then service apache2 restart

Am i doint something wrong, some help would be appreciated
jaawis
 
Posts: 5
Joined: Tue Nov 13, 2012 4:30 pm

Re: Zendguard on ISPCP ???

Postby jaawis on Sun Nov 25, 2012 7:15 pm

sorry i cant edit my posts, i have added the following lines to my php.ini:

[Zend]
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
zend_optimizer.version=3.3.3
zend_extension=/usr/local/Zend/lib/ZendExtensionManager. so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS. so

That space is because this forum says that im not authorized to post url links

And i have added it to all my php.ini:

/etc/ispcp/fcgi/parts/master/php5/php.ini
/etc/ispcp/fcgi/parts/php5/php.ini
/etc/ispcp/fcgi/working/master.php.ini
/etc/php5/apache2/php.ini
/etc/php5/cgi/php.ini
/etc/php5/cli/php.ini
/var/www/fcgi/my domain/php5/php.ini

But strange enough it isnt working
jaawis
 
Posts: 5
Joined: Tue Nov 13, 2012 4:30 pm

Re: Zendguard on ISPCP ???

Postby jaawis on Sun Nov 25, 2012 8:03 pm

Damn, forget my last post, because zend optimizer isnt supported anymore with php 5.3


So tried again with Zend Guard

Tried these stepts:

wget ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz
tar -xf ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz
cd ZendGuardLoader-php-5.3-linux-glibc23-i386/php-5.3.x/
mkdir -p /usr/local/php/
cp ZendGuardLoader. so /usr/local/php/
nano php.ini

This in php.ini:

zend_extension = "/usr/local/php/ZendGuardLoader. so"
So without space, and i have added it in all php.ini

/etc/ispcp/fcgi/parts/master/php5/php.ini
/etc/ispcp/fcgi/parts/php5/php.ini
/etc/ispcp/fcgi/working/master.php.ini
/etc/php5/apache2/php.ini
/etc/php5/cgi/php.ini
/etc/php5/cli/php.ini
/var/www/fcgi/my domain/php5/php.ini

Now what is wrong here ?
jaawis
 
Posts: 5
Joined: Tue Nov 13, 2012 4:30 pm


Return to Zend Guard / Optimizer

Who is online

Users browsing this forum: No registered users and 4 guests

cron