Home  >  Article  >  Backend Development  >  How to solve php zend garbled problem

How to solve php zend garbled problem

藏色散人
藏色散人Original
2020-11-26 09:34:241880browse

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.

How to solve php zend garbled problem

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!

Statement:
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 admin@php.cn