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