Reputation: 6041
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.
Upvotes: 2
Views: 2554
Reputation: 18440
The Zend Engine is the interpreter for PHP and has nothing to do with the Zend Framework.
The Zend Framework is probably not installed on your server unless you have installed it yourself. See the quick start for more information and instructions on where and how to install Zend Framework.
Upvotes: 4
Reputation: 254926
php -v
output we can say that Zend Optimizer
is installed. Nothing about Zend Framework
thereUpvotes: 5