Today, I found a garbled php file with a password on a friend's website. Later I found that php uses zend optimizer encryption. We only need to install Zend Optimizer on the machine, I am using Directadmin. The following describes the installation steps.
A customer responded to the website garbled and used zend optimizer encryption. After checking the vps, they found that zend optimizer was not installed. After installation, the garbled problem can be solved.
The Code is as follows: |
Copy code |
Cd/usr/local/directadmin/custombuild/ Vim./options. conf |
Change zend = no to zend = yes, and then execute./build zend. The following prompt is displayed.
The Code is as follows: |
Copy code |
[Root @ my2 custombuild] #./build zend File already exists: ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz Zend Optimizer has been installed. |
Restart apache.
The Code is as follows: |
Copy code |
[Root @ my2 ~] # Php-v PHP 5.2.17 (cli) (built: May 22 2012 02:47:56) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies With Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies |