Detailed steps to enable SourceGuardian (sg11) encryption component on Linux virtual hosts

Detailed steps to enable SourceGuardian (sg11) encryption component on Linux virtual hosts

Note: sg11 Our company only supports self-installation of Linux system virtual hosts. Support PHP5.3 and above.

1. Log in to the host control panel and find the [Remote File Download] function.

image.png

2. For remote download file, fill in http://download.myhostadmin.net/vps/sg11_for_linux.zip and for download save path, fill in /others/

If the above encrypted file does not work, you can download this php7.0 sg11 file to see https://www.lanzoui.com/b00o3ld6d or 123WORDPRESS.COM download

image.png

3. Click [PHP version] in the control panel and select PHP5.3 or above. The example selects PHP5.5 (Note: PHP5.2 cannot edit php.ini, so you need to select a higher version).

image.png

4. Click [File Management] on the control panel, open the others directory, put the mouse on the compressed package just downloaded remotely, and click the decompression button. The number in the unzipped file name corresponds to the PHP version, for example, ixed.5.4.lin is the sg11 file of PHP5.4 version.

image.png

5. Click to modify the php.ini file, copy the current path, and add the actual path of the extension=sg11 file to the last line at the bottom of the php.ini file, as shown in the figure below.

If you want to change to another version, reselect the PHP version, then re-edit the php.ini file and add the specific version at the bottom.

image.png

6. Enter the wwwroot directory, create an x.php file, open and edit x.php, enter <?phpinfo()?> in it and save it. Then visit http://your own website domain name/x.php and search for SourceGuardian. If you can find it, it means the installation is successful. If you can't find it, please check the following steps or submit a work order.

image.png

Install SourceGuardian SG11 components in Linux + LNMP environment

SourceGuardian, also known as SG11, provides encryption for PHP source code files, while SourceGuardian loader is a PHP extension that provides the ability to run these encrypted PHP files.

1. Visit https://www.sourceguardian.com/loaders/download.php in your browser and enter the URL of the php file where you need to install the phpinfo function on the SourceGuardian loader server, such as http://34.0.0.0/phpinfo.php

2. The online detection script will extract the PHP version information and extension path based on the information in phpinfo, and will prompt

What file to download, such as: ixed.7.3.lin

Where to upload to the server, such as: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731

php.ini location, such as: /usr/local/php/etc/php.ini

Modify the content of php.ini and add the last line, such as: extension=ixed.7.3.lin

3. After uploading the file, it is best to change the file permission to 751, which should be the same as the permissions of other files in this folder. After modifying the php.ini file, restart the php process

/etc/init.d/php-fpm restart

4. Access the information in your phpinfo again, and you will find that SourceGuardian is definitely there.

<<:  In-depth analysis of MySQL query interception

>>:  HTML table markup tutorial (41): width and height attributes of the table header WIDTH, HEIGHT

Recommend

Detailed explanation of MySQL syntax, special symbols and regular expressions

Mysql commonly used display commands 1. Display t...

Detailed explanation of the pitfalls of nginx proxy socket.io service

Table of contents Nginx proxies two socket.io ser...

Attributes in vue v-for loop object

Table of contents 1. Values ​​within loop objects...

How to use mysqldump to backup MySQL data

1. Introduction to mysqldump mysqldump is a logic...

Tutorial on installing mongodb under linux

MongoDB is cross-platform and can be installed on...

Disadvantages and reasonable use of MySQL database index

Table of contents Proper use of indexes 1. Disadv...

Markup Languages ​​- What to learn after learning HTML?

Click here to return to the 123WORDPRESS.COM HTML ...

Detailed explanation of the configuration method of Vue request interceptor

Follow the steps below 1. request.js content: htt...

How to implement Mysql scheduled tasks under Linux

Assumption: The stored procedure is executed ever...

VUE+Canvas implements the game of God of Wealth receiving ingots

Welcome to the previous canvas game series: 《VUE ...

ThingJS particle effects to achieve rain and snow effects with one click

Table of contents 1. Particle Effects 2. Load the...

ffmpeg Chinese parameter description and usage examples

1. When ffmpeg pushes video files, the encoding f...

Mybatis fuzzy query implementation method

Mybatis fuzzy query implementation method The rev...

VUE + OPENLAYERS achieves real-time positioning function

Table of contents Preface 1. Define label style 2...