Zend Framework Install

software development

#1

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


#2

[quote]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.[/quote]
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


#3

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!!


#4

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. :@


#5

Thanks!!!

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


#6

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


#7

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

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

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost


#8

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


#9

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


#10

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


#11

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

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost


#12

at the command line, after write zf show version


#13

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.

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost


#14

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?


#15

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.

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost


#16

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.


#17

ONE MILLION DOLLARS :cool:

I haven’t had time to look at the Wiki copy/pasta yet but I’ll make a special effort to check it out today.

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost


#18

ONE MILLION DOLLARS!!!
I will count the coins in my pocket…
hum…
35 cents, I can pay in installments?? rsrsrs

Thank you sXi, do you have messenger?


#19

sxi@sabrextreme.com

http://sxi.sabrextreme.com under Shell-scripts.

You can sling me the million once you’ve become a super rich Java game developer :cool:

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost


#20

Thank you for the script!!!

I did upload the files
home/edmar_gomes/ZendFramework-1.9.5-minimal.tar.gz
and
home/edmar_gomes/dh-shzf.sh

but when I typed ‘sh dh-shzf.sh’ show this message
: invalid shell option name expand_aliases
: command not found: echo
Installing…
: No such file or directoryome/edmar_gomes/.env
tar: ZendFramework-1.9.5-minimal\r.tar.gz: Cannot open: No such file or diretory
tar: Error is not recoverable: exiting now

what did I do wrong?