Control Web Panel

WebPanel => PHP => Topic started by: Monclee on January 10, 2020, 08:21:23 PM

Title: Where is Zend Guard been installed
Post by: Monclee on January 10, 2020, 08:21:23 PM
I have selected "Install Zend Guard loader" on tht PHP 5.6 options (im using two versions of PHP , 5.6 and 7.2 )

But i cant find it anywhere in my CentOS, i try

[root@li1194-226 ~]# find / -name "ZendGuard*"
/usr/local/cwpsrv/htdocs/resources/admin/addons/3rdparty/phpseclib/vendor/phing/phing/classes/phing/tasks/ext/zendguard/ZendGuardLicenseTask.php
/usr/local/cwpsrv/htdocs/resources/admin/addons/3rdparty/phpseclib/vendor/phing/phing/classes/phing/tasks/ext/zendguard/ZendGuardEncodeTask.php

In PHP Selector v2 , in Select options for PHP 56 i have this.

(https://i.ibb.co/zZ5Sp46/Screen-Shot-2020-01-10-at-14-19-20.png)

Wish someone can point me out where is it, because i need to point the location of this file for a configuration file of a script.

THANKS!

 
Title: Re: Where is Zend Guard been installed
Post by: Sandeep on January 12, 2020, 02:50:45 PM
hi,
here you go :

5.5 :
/usr/local/zend/5.5/ZendGuardLoader.so

5.6
/usr/local/zend/5.6/ZendGuardLoader.so
Title: Re: Where is Zend Guard been installed
Post by: Monclee on January 14, 2020, 10:26:45 PM
Nope, that route not exists.

usr/local/zend not exists.

Title: Re: Where is Zend Guard been installed
Post by: Monclee on January 16, 2020, 06:09:10 PM
Maybe its because im using 2 versions of PHP (7,2 and 5.6)?? , What is the route?  :( :(  thanks in advance

Nothing in Documentation also.
Title: Re: Where is Zend Guard been installed
Post by: Monclee on January 21, 2020, 11:29:37 PM
Someone pls, :( any other route i can try to look at.
Title: Re: Where is Zend Guard been installed
Post by: ejsolutions on January 22, 2020, 01:52:14 AM
find / -name "?end?uard*"
or
find / -name "?end*"
Title: Re: Where is Zend Guard been installed
Post by: Sandeep on January 23, 2020, 11:47:29 AM
do you installed it ? and the extension is enabled in 5.6 ?
Title: Re: Where is Zend Guard been installed
Post by: Monclee on January 24, 2020, 05:10:33 AM
I select "Install Zend Guard Loader" in the PHP 56 options, so i think it should be installed and enable.

But how can i check this, and if not, how can i install it and enable it.

Thanks
Title: Re: Where is Zend Guard been installed
Post by: Monclee on January 28, 2020, 09:43:04 PM
 :'( I dont want to Force Zend Guard Install, because in my experience if you mess with the CWP default logic, you get more problems later.

Pls Can some one tell me , why even when i have selected "Install Zend Guard" this is not installed, I have searched for the files, everywhere with no luck

If everything fails i will try to follow this guide: https://www.zsite.net/book/zsitemanual/162.html Does anyone has a better one, or maybe can explain to me why i cant find Zend Guard file .thanks.
Title: Re: Where is Zend Guard been installed
Post by: rcschaff on January 29, 2020, 01:46:54 AM
check phpinfo() on a page running it.  the System PHP is not the same as CWP's PHP, so you can't really mess it up.
Title: Re: Where is Zend Guard been installed
Post by: Monclee on February 09, 2020, 03:47:08 AM
My question to CWP team would be, why in the options it says that you "Install Zend Guard Loader" for that version of PHP if it isnt true, it is not installed actually, is it a bug, what am i doing wrong?,

Thanks in advance, in phpinfo() it seems i have zend engine, but there is no info about any Zend Guard Loader.

:(
Title: Re: Where is Zend Guard been installed
Post by: Sandeep on February 15, 2020, 02:05:04 PM
hi when it is installed it will show up in phpinfo and it is only available for 5.5 and 5.6 php
Title: Re: Where is Zend Guard been installed
Post by: rcschaff on February 15, 2020, 02:11:38 PM
Devs need to add a note for that module, or disable the checkbox for 7+
Title: Re: Where is Zend Guard been installed
Post by: Sandeep on February 15, 2020, 02:14:40 PM
Devs need to add a note for that module, or disable the checkbox for 7+
where did you see zend guard for php 7.xx ? screenshot ?
Title: Re: Where is Zend Guard been installed
Post by: rcschaff on February 15, 2020, 02:16:04 PM
The original poster.  On the compile PHP page, zend does show up as a module.
Title: Re: Where is Zend Guard been installed
Post by: Sandeep on February 15, 2020, 02:17:03 PM
The original poster.  On the compile PHP page, zend does show up as a module.
probably he messed up with options under 7.xx
Title: Re: Where is Zend Guard been installed
Post by: Monclee on June 17, 2020, 06:25:40 PM
Hey after a lot of work in other sites im back.

I check phpinfo there is no ZendGuard info, so is not installed...

I think my problem is PHP version with ZendGuard is 5.6.40

And site is running PHP Version 5.6.37

I will try to set PHP version 5.6.40

My issue is i JUST CANT find the file ZendGuardLoader.so (wich i need to point)
Title: Re: Where is Zend Guard been installed
Post by: Monclee on June 17, 2020, 06:42:03 PM
Nope, site is using 5.6.40 now and still now Zend Guard Installed.

So whats the point on the option "Install Zend Guard" that does not work, is selected, i have saved changes, but it never install Zend guard.

I think theres no other way that manual install,
Title: Re: Where is Zend Guard been installed
Post by: Monclee on June 17, 2020, 06:46:04 PM
do you installed it ? and the extension is enabled in 5.6 ?

How can i install it pls, :( help
Title: Re: Where is Zend Guard been installed
Post by: Monclee on June 17, 2020, 07:42:36 PM
Almost there!!!

For anyone who is as ignorant as i am.

1. First check PHP version switcher not PHP selector, check for modules installed there, There you install Zend Guard, that was my problem

now /usr/local/zend/5.6/ZendGuardLoader.so exists..

My problem now is I have Zend guard installed, i have extension enable in PHP selector for 5.6.40 , and still

info.php shows nothing about Zend Guard, so i think i just need to solve that..