Wamp under Configuration Https+zendguardloader

Source: Internet
Author: User

The company's project, there are several files are encrypted, after a toss, finally configured successfully

File encryption technology is Zendguard, so the PHP that must be installed must be NTS.

First, download and configure PHP

Download and install PHP First, note the VC version and whether NTS, address: Download PHP

Configure PHP, modify php.ini, modify the Extension_dir to Ext folder, and then open the module you want to use.

Second, download the configuration Apache Fcgid module

To configure Nts,apache must be mod_fcgid.so, download the note fcgid Be sure to match the version of Apache, address: Download Fcgid

After downloading, put the mod_fcgid.so file in the apache24/modules/directory.

Then open the httpd.conf file and add the following two lines

LoadModule fcgid_module modules/mod_fcgid.soinclude conf/extra/httpd-fcgid.conf

Then open httpd-fcgid.conf, copy the following code, modify the three path, save exit

<ifmodule fcgid_module>        fcgidinitialenv phprc                      "e:/php/php5.4nts"        fcgidinitialenv PHP_ Fcgi_max_requests        fcgidmaxrequestsperprocess                          fcgidmaxprocesses        Fcgidiotimeout        fcgididletimeout        addtype application/x-httpd-php. php        <files ~ "\.php$>"                AddHandler fcgid-script. php                fcgidwrapper "e:/php/php5.4nts/php-cgi.exe". php        </Files></IfModule> #为站点根目录的Options增加ExecCGI, assuming the root directory is e:/php/code<directory "E:/php/code ">        allowoverride all        options-indexes +execcgi</directory>

So far, fcgid configuration is complete. If you want the virtual domain name, here is a template, modify the red section to

<virtualhost *:>    "e:/php/code"    localhost     " E:/php/code >        Options Indexes followsymlinks execcgi        Order allow,deny        allow from all AllowOverride    All </Directory></VirtualHost>

Third, installation Zendguardloader

When downloading the software, be careful to see whether it is 32-bit or 64-bit, and a matching PHP version, download Zendguardloader

After downloading, copy the ZendLoader.dll to the ext directory under the PHP directory.

Then open php.ini, paste the following code, modify the address.

[Zend_loader]zend_loader.enable=1zend_loader.disable_licensing=1zend_loader.obfuscation_level_support=3zend_ Loader.license_path=zend_extension = "E:\PHP\php5.4nts\ext\ZendLoader.dll"

Wamp under Configuration Https+zendguardloader

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.