Can php be run directly after encryption?

王林
Release: 2023-02-25 10:38:01
original
5252 people have browsed it

Can php be run directly after encryption?

The encrypted php code requires the ZendGuardLoader module to run properly

DownloadZendGuardLoader compressed package

After downloading, unzip the compressed package, find the ZendLoader.dll file in the directory, put it in the ext directory of your php directory, and then edit php .ini file, add a piece of code:

[Zend.loader]
zend_loader.enable=1
zend_loader.disable_licensing=1
zend_loader.obfuscation_level_support=3
zend_loader.license_path=
zend_extension="你的PHP安装目录\ext\ZendLoader.dll"
Copy after login

Restart wampserver

If you are lucky, you will find that you can execute it directly. If you are not lucky, you will still find the above error. .

We have installed the zend guard loader here, why can’t we still execute the zend encrypted php script?

By looking at the output phpinfo() information, I found that there are several lines of information:

  PHP Extension 20090626
  Zend Extension 220090626
  Zend Extension Build API220090626,TS,VC9
Copy after login

Please note that TS is the abbreviation of thread safety (i.e. thread safety)

zend guard loader only supports the NTS version, which means that if your php version is TS, you cannot use zend guard loader. If you want to check whether your php is ts or nts, just You need to output phpinfo, and then search for: Thread Safety, disabled corresponds to the nts version, otherwise it is ts.

Recommended tutorial: PHP video tutorial

The above is the detailed content of Can php be run directly after encryption?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact [email protected]
Latest issues
Popular Tutorials
More>
Latest downloads
More>
web effects
Website source code
Website materials
Front end template
About us Disclaimer Sitemap
PHP Chinese website:Public welfare online PHP training,Help PHP learners grow quickly!