I would like to ask you how to solve the problem that the boss asked the code to be encrypted when you were working on the project? I would like to ask you how to solve the problem that the boss asked the code to be encrypted when you were working on the project?
Reply content:
I would like to ask you how to solve the problem that the boss asked the code to be encrypted when you were working on the project?
Try this, free encryption obfuscation: http://enphp.djunny.com/
In PHP7, you can use opcache. file_cache to export the script opcode to implement source code protection.
Configure in php. ini:
Zend_extension =/png/php/7.0.0/lib/php/extensions/no-debug-non-zts-20151012/opcache. so opcache. memory_consumption = 128 opcache. interned_strings_buffer = 8 opcache. max_accelerated_files = 4000; disable the PHP file timestamp to verify opcache. validate_timestamps = Off; Verify that the PHP file timestamp is updated every 60 seconds; opcache. revalidate_freq = 60 opcache. fast_shutdown = 1; note that the script executed by the command line in PHP 7 will also be opcache. file_cache cache. opcache. enable_cli = 1; set a non-Cache blacklist; opcache. blacklist_filename =/png/php/opcache_blacklist opcache. file_cache =/png/php/opcache_file_cache opcache. enable = On
The content of opcache_compile_file.php is as follows:
HipHop for PHP
I will talk to my boss about performance, open source, overtime, and salary increase...
Encryption is useless. In case of online problems, even encrypted debugging won't work.
Zend has a code encryption tool. Just buy one. You can not only encrypt data, but also set how long the encrypted code can run. For example, if you want to give your home a test version, you can set it to 30 days. By the day, the Code cannot run.
Is the template and crud encrypted?
Why encryption? Are you ready to authorize the seller?