+ -
当前位置:首页 → 问答吧 → [翻译]当得到这样的警告时'Warning No license for this product ...'

[翻译]当得到这样的警告时'Warning No license for this product ...'

时间:2006-05-11

来源:互联网

Symptoms

问题:
当你正在运行编码后PHP文件和授权过的文件时,得到这样的警告:
"Warning: No license for this product (your product name) - make sure
zend_optimizer.license_path is properly configured in php.ini! In (path to license file) on line 0"


When you try to run an encoded and licensed file, you get this warning:
"Warning: No license for this product (your product name) - make sure
zend_optimizer.license_path is properly configured in php.ini! In (path to license file) on line 0"


Resolution
解决:

If you load your license by the ‘zend_loader_install_license’ function:
如你加载授权是通过 'zend_loader_install_license'函数进行的:

1.Make sure that the license file was created using the same product name used
when you encoded your files.
1.确认授权文件创建时使用的产品名是否和在对文件进行编码时使用的产品名一致。

2.Check that the license file does exist in that directory.
2.检查授权文件在指定的目录里是否存在。

3.You should use full path to the license file in the script.
3.检查脚本里授权文件的路径是否使用完整路径。


If you load your license in the ‘zend_optimizer.license_path’ php.ini directive:
如果你加载授权是通过 php.ini中的 'zend_optimize.license_path' 进行:

1.Make sure that the license file was created using the same product name used
when you encoded your files.
1.确认授权文件创建时使用的产品名是否和在对文件进行编码时使用的产品名一致。
2.Check that the license file does exist in that directory.
2.检查授权文件在指定的目录里是否存在。

3.You should set this directive to the full path to the license.
3.检查php.ini 中的 zend_optimize.license_path 是否进行配置和使用路径是否使用的是完整路径。

作者: xiaojia   发布时间: 2006-05-11

自己先顶一下

作者: xiaojia   发布时间: 2006-05-11