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

Mysql practical exercises simple library management system

Table of contents 1. Sorting function 2. Prepare ...

MySQL lock control concurrency method

Table of contents Preface 1. Optimistic Locking A...

Steps for Vue to use Ref to get components across levels

Vue uses Ref to get component instances across le...

Detailed explanation of MySQL injection without knowing the column name

Preface I feel like my mind is empty lately, as I...

Practical example of Vue virtual list

Table of contents Preface design accomplish summa...

Practical record of vue using echarts word cloud chart

echarts word cloud is an extension of echarts htt...

How to pop up a temporary QQ dialog box to chat online without adding friends

In fact, this is very simple. We add an a tag to ...

Use elasticsearch to delete index data regularly

1. Sometimes we use ES Due to limited resources o...

Markup language - for

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

Detailed explanation of anonymous slots and named slots in Vue

Table of contents 1. Anonymous slots 2. Named slo...

Mybatis statistics of the execution time of each SQL statement

background I am often asked about database transa...

Pay attention to the use of HTML tags in web page creation

This article introduces some issues about HTML ta...

Use personalized search engines to find the personalized information you need

Many people now live on the Internet, and searchin...