Comments on Basic Web Server On Ubuntu 9.04 With Zend Framework

Basic Web Server On Ubuntu 9.04 With Zend Framework This is a brief description of the steps required to set up a basic Web Server (on Ubuntu 9.04) with the Zend Framework installed.

14 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Anonymous

I think faster way to do this would be to simply install Zend Server Community Editon:)

By:

Where is the fun in Simple Solutions?

By: srini

Hi,

When issued command zf.sh show version, i got the below message:

/opt/ZendFramework/current/bin/zf.sh: 44: php: not found

But when i have manually browsed to the folder zf.sh file is present. Pls help....

Regards,

Srini

By:

Check your soft link called current is actually pointing at the zf directory, in the tutorial I have included what to do if and when zf if updated, you shouldn't follow that instruction until the framework is actually updated. You could rm your 'current' ln -s and redo the command:

ln -s release-1.8.3 current

making sure that you are in the ZendFramework directory and that the release version is correct.

You could also check permissions on the file, it might be that you current user doesn't have permission to execute the zf.sh file, a quick chmod could fix that.

By: rob ganly

no it is that php isn't being found on the command line.

try running 'php -v' and if you get 'php: command not found' then try and install the cli by running the command:

sudo aptitude install php5-cli

then restart apache and try again. hope that helps.

rob ganly

By: Andrea

Hi at all,

  good guide. but i have a problem to compile php5 source. when i put the command:

./configure --prefix=/etc/php5/apache2 --enable-zip --enable-calendar --enable-mbstring --with-mysql --with-mysqli --with-curl --with-curlwrappers --with-zlib --with-gd --with-jpeg-dir --with-png-dir --with-mcrypt --with-mhash --with-pdo-mysql --with-config-file-path=/etc/php5/apache2

 i receive the follow error:

 Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path...

 

any help ?

By: Andre

Remove php&co end reinstalling...it works ;)


 

By:

You got there on your own. I have re-vamped the tutorial a bit, as I wanted the Full GD Library and have moved the installation of the ***-dev files closer to the configure which should hopefully help others.

By: Azizur Rahman

Something that I am not sure why we are checking out the entire ZF? I'd not advise doing this in production.

By: Sathish

5 Stats for this! Its a great tutorial. I was lost for last 3 days in search of installing ZF in ubuntu. Now I am able to install and run it. Its a great one and I thank You once more!

By: Kartika

Hello,

Thanks for this tutorial. It is easy to understand because drill down step by step, and easy to follow too. I get better understanding because typing it one by one.

Sincerely,

Kartika :)

By: Gast78

Thanks Rob, it helped me.

By: Anonymous

hi when i checked the version

zf.sh show version

this give me the error

The program 'zf.sh' is currently not installed.  You can install it by typing:
sudo apt-get install zend-framework-bin

please help

By: alphadelta

Thanks so much for this great guide!

 Keep up the good work.