Home >Backend Development >PHP Problem >What to do if php zend encrypts garbled characters
Solution to php zend garbled code: first install zend; then execute "install.sh" to install and specify the location of "php.ini" and apache script; then restart apache; finally open the "php.ini" file And activate zend.
Solution to php page zend encryption garbled code
Today, a php program deployed on the server has zend encryption The page appears garbled. After testing by Google and myself, it was finally solved
1: First install zend, you can go to zend’s official download, execute install.sh and it will be installed automatically. You need to specify php.ini and apache scripts s position. 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:
A lot of related knowledge, please Visit PHP Chinese website!
The above is the detailed content of What to do if php zend encrypts garbled characters. For more information, please follow other related articles on the PHP Chinese website!