Forum Webmastera, HTML, CSS, PHP, MySQL, Hosting, Domeny - Forum dla Webmasterów
Istalacja Zend Guard Loader - Wersja do druku

+- Forum Webmastera, HTML, CSS, PHP, MySQL, Hosting, Domeny - Forum dla Webmasterów (https://www.webmastertalk.pl)
+-- Dział: Technologie internetowe - tworzenie stron WWW (https://www.webmastertalk.pl/forum-technologie-internetowe-tworzenie-stron-www)
+--- Dział: Początkujący webmaster (https://www.webmastertalk.pl/forum-poczatkujacy-webmaster)
+--- Wątek: Istalacja Zend Guard Loader (/thread-istalacja-zend-guard-loader)



Istalacja Zend Guard Loader - sargon162 - 20-03-2012

Mam skonfigurowanego VPSa z DirectAdmin. Sam go nie konfigurowałem, bo już był domyślnie skonfigurowany.

Brakuje mi tam do działania jednej aplikacji Zend Guard Loader. Nie wiem jak to zainstalowac, instrukcja jest taka:

Cytat:Zend Guard Loader installation instructions
-------------------------------------------

1. Extract the Zend Loader package.

2. Locate and extract the ZendGuardLoader.so (Linux) or ZendLoader.dll (Windows) that corresponds to your php version.

3. Add the following line to your php.ini file for loading the ZendGuardLoader:
Linux and Mac OS X: zend_extension=<full_path_to_ZendGuardLoader.so>
Windows non-thread safe: zend_extension=<full_path_to_ZendLoader.dll>

4. Add an aditional line to your php.ini for enabling ZendGuardLoader
; Enables loading encoded scripts. The default value is On
zend_loader.enable=1

5. Optional: following lines can be added your php.ini file for ZendGuardLoader configuration:

; Disable license checks (for performance reasons)
zend_loader.disable_licensing=0
; The Obfuscation level supported by Zend Guard Loader. The levels are detailed in the official Zend Guard Documentation. 0 - no obfuscation is enabled
zend_loader.obfuscation_level_support=3
; Path to where licensed Zend products should look for the product license. For more information on how to create a license file, see the Zend Guard User Guide
zend_loader.license_path=

6. If you use Zend debugger as well, please make sure to load it after the Zend guard Loader

7. If you use ioncube loader, please make sure to load it before Zend guard Loader

8. Restart your Web server.

Ad.2 Gdzie mam wgrać ten plik?

Ad.3 lokalizacje php.ini odnajdę sam, ale w którym miejscu wpisać ten tekst?

Ad.4 w którym miejscu w php.ini wpisać ten tekst?

Ad.6 w którym miejscu w php.ini wpisać ten tekst?

Ad.7 w którym miejscu w php.ini wpisać ten tekst?


RE: Istalacja Zend Guard Loader - Pedro84 - 20-03-2012

2. Gdzie chcesz.
3. Gdzie chcesz.
4. Gdzie chcesz.
6. Gdzie chcesz.
7. Gdzie chcesz.


RE: Istalacja Zend Guard Loader - sargon162 - 21-03-2012

A nie trzeba uważać na punkt 6 i 7? (bo w instrukcji podają pewną kolejność)

Jeżeli na serwerze był wcześniej "zend optimizer", to wgranie ZendGuardLoader uaktualni poprzednika? Czy trzeba robić jakaś deinstalacje?

P.S.
Z instrukcji wynika że to raczej nie będzie trudne, ale czy tymi zabiegami mogę coś bardzo schrzanić, że będę mógł mieć później problemy z serwerem? (uważam że raczej nie, ale warto zapytać)


RE: Istalacja Zend Guard Loader - Pedro84 - 21-03-2012

Znaczy, najlepiej wpisy konfiguracyjne rób po kolei.

Czy coś schrzanić możesz? Najwyżej Ci Apacz nie wstanie (nie zapomnij o resecie). Swoją drogą, to VPS, dedyk?


RE: Istalacja Zend Guard Loader - sargon162 - 21-03-2012

Chodziło mi o to że z instrucji wynika że jeżeli mam Zend debugger, to ma się on uruchamiać po Zend guard Loader, a jeżeli mam ioncube loader, to Zend guard Loader ma się uruchamiać przed. (Czyli umieścić wpisy Zend guard Loader pomiędzy tymi wpisami aby po prostu zachować kolejność?)

Jeżeli coś schrzanię, i później usunę wszystkie wpisy jakie zrobiłem, to powinno wrócić do stanu wyjściowego?

Jest to VPS

P.S.
Sorry za głupie pytania ale jestem w tym zielony.


RE: Istalacja Zend Guard Loader - Pedro84 - 21-03-2012

Najlepiej sobie zrób kopię pliku php.ini i po kłopocie, w razie czego zwalisz sobie tylko Apacza, bez problemu go naprawiając przywracając plik php.ini (ten z kopii).