473,407 Members | 2,676 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Ubuntu Zend Framework problem

gopan
41
Hi All,
I have my Ubuntu system installed with LAMP, Zend Optimizer and I installed the Zend Framework too...

But when I run command

root@sys1# zf show version

then it returns an error like

44: PHP: not found

I'm not getting what exactly the error is... zf.sh is in usr/bin/ directory.

Please help me...
Aug 15 '09 #1
5 4675
numberwhun
3,509 Expert Mod 2GB
@gopan
It looks to me, and I am just guessing from what little information was provided, that PHP is not on your system.

Regards,

Jeff
Aug 21 '09 #2
gopan
41
But I am able to run my PHP codes... it is fine and working... may be the zf shell script is not mapping my PHP. Do you know how to let ZF.sh to find PHP ??
Aug 21 '09 #3
Markus
6,050 Expert 4TB
@gopan
Do you have the PHP CLI package? On the terminal type php -v and post the output here.

Mark.
Aug 25 '09 #4
gopan
41
Had no CLI package... now installed...

and getting the following error while trying
Expand|Select|Wrap|Line Numbers
  1. root@admin:~# zf show version
  2.  
  3. ***************************** ZF ERROR ********************************
  4. In order to run the zf command, you need to ensure that Zend Framework
  5. is inside your include_path.  If you are running this tool without 
  6. ZendFramework in your include_path, you can alternatively set one of 
  7. two environment variables to for this tool to work:
  8.  
  9. a) ZEND_TOOL_INCLUDE_PATH_PREPEND="/path/to/ZendFramework/library"
  10.  
  11. OR alternatively
  12.  
  13. b) ZEND_TOOL_INCLUDE_PATH="/path/to/ZendFramework/library"
  14.  
  15. The former (a) will make the specified Zend Framework first in the
  16. include_path whereas the latter (b) will replace the include_path
  17. with the specified path.
  18.  
  19. Information:
  20.     attempted include_path: .:/usr/share/php:/usr/share/pear
  21.     script location: /usr/bin/zf.php
  22.  
  23. root@admin:~#
  24.  
my zend framework library is in :
Expand|Select|Wrap|Line Numbers
  1. /usr/share/php/libzend-framework-php/Zend
  2.  
how to set this environment variables...
Aug 25 '09 #5
Markus
6,050 Expert 4TB
Read this article on the subject.
Aug 25 '09 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: R. Rajesh Jeba Anbiah | last post by:
There are some criticism and speculations about Zend PHP Framework <http://www.zend.com/collaboration> <quote src="http://www.loudthinking.com/arc/000544.html"> PHP is a dead language. </quote>...
3
by: R. Rajesh Jeba Anbiah | last post by:
The Zend framework preview release is out <http://framework.zend.com/> and I don't know why such PEAR like (yet another) framework is needed. At the same time, Rasmus' article...
1
by: pjSoni | last post by:
Hi I would like to know from where to start learning zend frame work I need to develop project based on zend framework so what tools of zend framework I should use like db, template handling...
4
by: chonny | last post by:
How to connect and query odbc database with zend framework db?
0
by: hzqij1978 | last post by:
I am a newer of Zend Framework, i write a program to test the speed of Zend Framework, code like this: /var/www/htdocs/index.php <?php require_once 'Zend.php'; require_once...
1
by: enkara | last post by:
Hi!! I'm trying to embebe an event calendar on my website but I'm usign Zend Framework and I don't know how to do it. It seems like Zend Framework doesn't accept third party tools. I don't know...
5
by: Sanders Kaufman | last post by:
I've been programming a long time, but I'm not very bright these days. I've been using Zend Studio for a couple of years (LOVING IT!!) to build a web framework. I've been *hearing* about a...
3
by: Peter Wang | last post by:
Hi, all. I recently encountered a very annoying problem while using Zend Framework(ZF). We use ZF in our web application, and it works fine at the beginning, but later when concurrent...
2
by: Baldaris | last post by:
Hi, I am using Xampp , I am trying to use zend framework which i have installed from zend website, To use framework i need to save it in library folder right but i am not able to find it. if...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.