Solution to php zend garbled code: first execute install.sh to install zend; then specify the locations of php.ini and apache scripts; then restart apache; and finally activate zend in php.ini.
The operating environment of this tutorial: Windows 7 system, PHP version 5.6. This method is suitable for all brands of computers.
Recommended: "PHP Video Tutorial"
Solution to the zend encryption garbled code on the php page
Deploy one on the server today The php program has zend encrypted pages that appear garbled. After tests by Google and myself, we finally solved the problem.
1: First install zend, you can go to zend’s official download, execute install.sh and it will be installed automatically. You need Specify the location of php.ini and apache scripts. Then restart apache.
Two: php.ini activates zend
Note: zend_optimizer.enable_loader = 1
The following is the quoted content:
zend_extension_ts = "your php dir" zend_extension_manager.optimizer_ts = "D:\xampp\php\zendOptimizer\lib\Optimizer" zend_optimizer.enable_loader = 1 ;zend_optimizer.enable_loader = 1开启,默认=0 zend_optimizer.optimization_level=15 ;zend_optimizer.license_path = ; Local Variables: ; tab-width: 4 ; End:
The above is the detailed content of How to solve php zend garbled problem. For more information, please follow other related articles on the PHP Chinese website!