Hướng dẫn cài đặt Ioncube và Zend (Optimizer/Guard) trên Directadmin

Chào các bạn, hôm nay mình sẽ hướng dẫn các bạn cách cài đặt  (Optimizer/Guard) trên sử dụng 

Để cài đặt /Guard bạn sử dụng lệnh sau:

cd /usr/local//
./build set  yes
./build 

Để cài đặt bạn sử dụng lệnh sau:

cd /usr/local/directadmin/custombuild
./build set ioncube yes
./build ioncube

Bây giờ các bạn có thể kiểm tra bằng lệnh

php -v

Sẽ hiển thị kết quả như sau:

PHP 7.0.24 (cli) (built: Oct 23 2017 19:26:52) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
 with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.0.3, Copyright (c) 2002-2017, by ionCube Ltd.

Hoặc các bạn có thể tạo file info.php với nội dung sau và chạy file để kiểm tra

<?php

// Show all information, defaults to INFO_ALL
phpinfo();

// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);

?>

Lúc này ta sẽ nhìn thấy dòng thông tin tại file phpinfo vừa tạo

Chúc các bạn thành công.

0 0 vote
Article Rating

NamLee Blog - Chia sẻ là đam mê
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x