Zend Framework Install

Zend Framework Install

Posted by: edmargomes
Posted on: 2009-10-21 19:41:00

Hi,

I'm not getting intall Zend Framework.
The article http://wiki.dreamhost.com/Zend_framework is very complicated for me.

I don't know how to the steps 7, 8 and 9.

help me, please!!

Thanks

Re: Zend Framework Install

Posted by: Atropos7
Posted on: 2009-10-21 22:06:00

In reply to:

The article http://wiki.dreamhost.com/Zend_framework is very complicated for me.

I don't know how to the steps 7, 8 and 9.


It will be necessary to explain what you find to be complicated. We don't know what you don't know (or already know that we think you should know that you must know, you know?)







Customer since 2000 cool openvein.org

Re: Zend Framework Install

Posted by: edmargomes
Posted on: 2009-10-22 06:18:00

hehe ok
I don't know Where should I write
'chmod +x $HOME/ZEND_framework/bin/zf.sh'
how I do change permision?

the same for the lines:
alias zf=/home/(YOUR_USER_NAME_HERE)/ZEND_framework/bin/zf.sh

source .bash_profile

zf show version


Thanks!!



Re: Zend Framework Install

Posted by: Atropos7
Posted on: 2009-10-22 06:40:00

Well as stated in the disclaimer at the top of the article, you need to be familiar with using a UNIX shell. That said a starting place to learning about using shell access is the following article: http://wiki.dreamhost.com/Shell



Customer since 2000 cool openvein.org | Please don't feed the trolls. mad

Re: Zend Framework Install

Posted by: edmargomes
Posted on: 2009-10-22 09:09:00

Thanks!!!


I found a tutorial PuTTY with Dreamhost (in Portuguese uhuu! :-) I am testing here and I will post the afternoon.

Re: Zend Framework Install

Posted by: edmargomes
Posted on: 2009-10-28 19:51:00

Hi,

I trying in differents diretorys, but all return this error after digit "zf show version":

-bash: /home/edmar_gomes/ZEND_framework/bin/zf.sh: /bin/sh^M: bad interpreter: No o such file or directory

the path /home/edmar_gomes/ZEND_framework/bin/zf.sh is correct, the files are there.

thanks

Re: Zend Framework Install

Posted by: sXi
Posted on: 2009-10-28 20:33:00

Did you copy/pasta things into Microsoft Word or something?

When writing programs or scripts always use a text editor like Notepad wink




How To Install PHP.INI / ionCube on DreamHost

Re: Zend Framework Install

Posted by: edmargomes
Posted on: 2009-10-28 21:09:00

thank you very much!!!

I had used wordpad.

Now show this error:
Failed loading /usr/local/dh/apache/template/phpext/zend_optimizer5/ZendOptimizer.so: /usr/local/dh/apache/template/phpext/zend_optimizer5/ZendOptimizer.so undefined symbol: zend_opcode_handlers

config the zend is hard rsrs

Re: Zend Framework Install

Posted by: masterwebmonkey
Posted on: 2009-10-30 17:42:00

STEP 6 you type at the command line

chmod +x $HOME/ZEND_framework/bin/zf.sh

STEP 7 you need to use an editor (a program that edits text) the default command line editor is VI the file you need to edit is named .bash_profile an alias is like a "short cut" to tell the dreamhost computer where to find the zf.sh script

the thing you need to add to your .bash_profile is
alias zf=/home/(YOUR_USER_NAME_HERE)/ZEND_framework/bin/zf.sh

put it on the last line of your .bash_profile
once that is done and saved

the command to get the dreamhost computer to start using the new alias or "short cut" is
source .bash_profile
Then Type
zf show version

IF all went well You should see
Zend Framework Version: 1.8.4


Re: Zend Framework Install

Posted by: edmargomes
Posted on: 2009-10-31 08:32:00

Thanks for help

My .bash_profile:

alias zf=/home/edmar_gomes/ZEND_framework/bin/zf.sh
unmask 002
PS1='[\h]$'



but show the same error

Edited by edmargomes on 10/31/09 08:32 AM (server time).

Re: Zend Framework Install

Posted by: sXi
Posted on: 2009-10-31 13:56:00

Are you seeing the error at the command line or in a web page?




How To Install PHP.INI / ionCube on DreamHost

Re: Zend Framework Install

Posted by: edmargomes
Posted on: 2009-10-31 17:38:00

at the command line, after write zf show version

Edited by edmargomes on 10/31/09 05:40 PM (server time).

Re: Zend Framework Install

Posted by: sXi
Posted on: 2009-10-31 17:51:00

The optimizer path looks good. Maybe something changed on the newer systems tho.

Try: $ ls /usr/local/dh/apache/template/phpext/zend_optimizer5/ just to make sure it's there (it will be, but let's be sure). Another longshot is check phpinfo() at your hosted site and see if PHP was compiled with --enable-versioning - it shouldn't be but let's get that out of the way too.




How To Install PHP.INI / ionCube on DreamHost

Re: Zend Framework Install

Posted by: edmargomes
Posted on: 2009-11-01 07:07:00

I try
$ ls /usr/local/dh/apache/template/phpext/zend_optimizer5/

show
ZendOptimizer.so

but the PHP info not show the param --enable-versioning.
look: http://kurumimhost.com/info.php

is this the problem?

Re: Zend Framework Install

Posted by: sXi
Posted on: 2009-11-01 12:26:00

No, it's a good thing.. just ruling it out as a possible reason for your problem.

I'd suggest you undo the changes you've made and start again fresh now that you've learned a bit about shell. If I get time later I'll run through a Wiki copy/pasta and see if I get the same results as you.




How To Install PHP.INI / ionCube on DreamHost

Re: Zend Framework Install

Posted by: edmargomes
Posted on: 2009-11-03 11:39:00

I deleted all and I tried again, but showed the same error.

I 'm Brazilian and study digital games in universaty. I need the Zend for a college and I'm worried.

sXi, How much do you charge to set up?
I pay by paypal.

Tags: zend frameworkdreamhostwiki