dongshijiao6890 2012-09-04 22:36 采纳率: 0%
浏览 76
已采纳

如何在服务器上找到Zend的安装位置?

I'm trying to use Zend's "Zend_Service_Amazon" class in my php script, but I'm not sure where it is installed. I'm assuming I need to include the path to Zend before trying to call methods based on this error I get:

Fatal error: Class 'Zend_Service_Amazon' not found in /public_html/path/zend.php on line 3

I know Zend is installed based on the php -v output of:

Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd., and
    with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies

So how do I find out where it resides and how to include it in my php script?

If it makes a difference, I'm using cPanel.

  • 写回答

2条回答 默认 最新

  • dongyan3018 2012-09-04 22:45
    关注
    1. Based on the php -v output we can say that Zend Optimizer is installed. Nothing about Zend Framework there
    2. Zend Framework is a set of php scripts, nothing else. You don't need to have it installed on the server
    3. There is no way rather than finding through all the filesystem if ZF is installed somewhere
    4. As long as it is a good idea to rely on a particular software version - just distribute your script with zend framework
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器