Install Zend 3.0 on your Debian server

Let’s get started with the installation of Zend 3.0 along with Php 7 on a debian server (the same steps will be valid for Ubuntu).

When you follow the following page :

it will likely need a few more easy steps to achieve as root user, here is what I did to get it fine :

# apt-get install composer

# apt-get install php7.0-mbstring

# apt-get install ext-dom

# apt-get install php-xml

# apt-get install php-soap

Note : use the corresponding Php version, for example 7.1…

Then as a web user :

$ composer require zendframework/zendframework

$ composer require zendframework/zendservice-recaptcha

$ composer require zendframework/zend-filter

$ composer require zendframework/zend-i18n

$ composer require zendframework/zend-json

$ composer require zendframework/zend-navigation

You may add a few other packages but for now that’s fine.

At the moment you will have all your zend installation within the directory you ‘ve being launching the command, for instance mine is as follow :


And you should see the vendor folder and composer.json file.

Your website

Now that you have Zend 3 ready, you may start using it on a first project, commonly you will use the MVC skeleton project and start from there :

$ composer create-project -n -sdev zendframework/skeleton-application /home/web/examples/first

Let’s add a firewall rule if needed to be able to listen on port 8080 which is the default developer mode :

# ufw allow from publicIP to any port 8080

Get yourself in your new application directory (ie : /home/web/examples/first).

Then start the server :

$ composer serve

You may now browse your website using the following url :

The developer mode allows you to try your codes and modules, in addition. I invite you to navigate through your application folder and edit the different files.

In case you wish to further test on the developer mode, you may issue the command as a root user :

php -S -t public public/index.php

where public is inside your application files’ structure.

Later, we will provide here a few tutorials to go further with the Zend Platform.

But if you need to advance a little in your learning, we welcome you to read the documentation provided on the Zend website :

Finally for production mode you will have to configure your virtualhost to point to your application directory inside the public folder.

Leave a Reply

Want more information?

Related links will be displayed here in this section for you to pick up another good spot to get more details about Web marketing and Search Engine Optimization. There will be some sites which we selected to ease the work of any webmaster or/and web marketer on the Internet.

%d bloggers like this: