zend でエンコードされたファイルを含むアプリケーションがあります。「php -v」を実行すると、次のようになります。
PHP Warning: Module 'mbstring' already loaded in Unknown on line 0
PHP Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0
Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0
PHP 5.3.3 (cli) (built: Feb 22 2013 02:51:11)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
私の /etc/php.ini には以下が含まれています:
[Zend]
zend_loader.license_path=/path/to/license.zl
zend_loader.obfuscation_level_support=3
"zend_extension=/path/to/ZendGuardLoader.so" は、/etc/php.d/zendguard.ini に既に読み込まれているため、php.ini には追加しませんでした。
アプリケーションに対して複数のライセンスを生成しましたが (まだカウント中です)、file.inc ファイルがデフォルトの無効なライセンス エラーを返します。私の file.inc ファイルの概要は次のとおりです。
$lic_info = zend_loader_file_licensed();
If (!$lic_info){
$error=invalid license;
exit();
}
みんな助けてくださいありがとう!!。