Jump to content

zf create project - zend community server


x_maras

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.