How to solve php zend garbled problem

藏色散人
Release: 2023-03-07 20:52:01
Original
1897 people have browsed it

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:
Copy after login

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!

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 admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template