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 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
  • ¥500 52810做蓝牙接受端
  • ¥15 基于PLC的三轴机械手程序
  • ¥15 多址通信方式的抗噪声性能和系统容量对比
  • ¥15 winform的chart曲线生成时有凸起
  • ¥15 msix packaging tool打包问题
  • ¥15 finalshell节点的搭建代码和那个端口代码教程
  • ¥15 Centos / PETSc / PETGEM
  • ¥15 centos7.9 IPv6端口telnet和端口监控问题
  • ¥20 完全没有学习过GAN,看了CSDN的一篇文章,里面有代码但是完全不知道如何操作