How does Linux install the SG11 encryption extension component?
Many open source programs do SG11 php encryption, but some hosts are not enabled or not supported. Here, it is installed manually and mirrored in advance. Pagodas and other panel tools are exempted.
Step one:
Fully downloaded https://www.phpjiami.com/down/sg_Loaders.rar
Download component, which supports ixed.4.3.lin-ixed.7.2ts.lin
Download address: https://cloud.rongkeji.cn/download/sg11-x86_64.tar.gz
Cd / root # go to the root directory
Mkdir sg11 # create a sg11 folder
Cd sg11 # enter the ssg11 folder
Wget https://cloud.rongkeji.cn/download/sg11-x86_64.tar.gz # download sg11 encryption component
Tar zxf sg11-x86_64.tar.gz # extract the sg11 encryption component to the sg11 folder
Step 2:
Php-v # View php version
The purpose of checking the version is to select the corresponding file. I am php5.6 here, so the choice is ixed.5.6.lin. Of course, ixed.5.6.lin is also compatible with php5.2 to php7. Rongwang recommends that you still choose the corresponding file, and choose as many php versions as you like.
Step 3:
Find /-name php.ini # find php.ini location
Vi / usr/local/php/etc/php.ini # modify php.ini
Extension=/root/sg11/ixed.5.6.lin # add this code to about 910-915 lines
Wq # Save exit
Shutdown-h now # restart the server immediately
If you don't know how to modify it with vi, you can log in to download it locally with FTP tool according to the path, find extension and add extension=/root/sg11/ixed.5.6.lin, and then restart the server, as shown below:
During installation, do not shut down, restart the server, and remember to do mirroring or snapshots and other operations.