Jump to content

zf create project - zend community server


Recommended Posts

Hi,

 

I decided that I must learn a framework so I choosed zend framework. I installed the zend community server and tried to follow some tutorials.

 

The first thing that I tried to do was to use the zend tools and the command "zf create project" in order to create the folder structure automatically.

I couldn't do it for the directory htdocs so I created it in another directory and I just transfered it to the htdocs.

My first project was called "helloworld" ...

So I went to the following directory  helloworld\application\views\scripts\index  and I changed the content of the index.phtml in order to show in my browser something like "Hello zendframework world".

 

Unfortunately when I type localhost/helloworld in my browser showed only the directories in this directory.

I checked the .htaccess and it was as it should be.

 

1st

Why my command didn't create the directory structure in the htdocs?

2nd

Does anybody know why I couldn't see the helloworld message that I wrote in the index file located to the directory that I mention above?

Link to comment
https://forums.phpfreaks.com/topic/212960-zf-create-project-zend-community-server/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.