Error starting project with zend Framework

Asked

Viewed 35 times

0

I followed the zend tutorial step by step but it is not working when I try to boot the project by netbeans. I am new there newly formed people who can please help there.Thanks.

inserir a descrição da imagem aqui

inserir a descrição da imagem aqui

1 answer

1

In the Apache instation folder, you find the httpd.conf file (or httpd-vhosts.conf on some systems) and include this block:

<VirtualHost *:80>
ServerName quickstart.local
DocumentRoot /path/to/quickstart/public

SetEnv APPLICATION_ENV "development"

<Directory /path/to/quickstart/public>
    DirectoryIndex index.php
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>

Then you replace the Documentroot path by the path to where the public folder in your application is.

Here is a great tutorial to start: http://framework.zend.com/manual/1.12/en/learning.quickstart.create-project.html

  • i did not understand what you meant by that -> Servername Quickstart.local Documentroot /path/to/Quickstart/public

  • Look at the "Create a virtual host" part of the link I gave you. Here it’s cutting the code, so it’s weird

  • You’re making the same mistake

  • How’s your /public/index.php?

  • I pasted the image there, I didn’t change anything on it @Fabionader

  • i to lost guy just want to start a project with php am beginner developer and recently graduated @Fabionader

  • From your print it looks like the library folder is empty... I’m sure Zend’s there?

  • yes it is you have facebook?

  • I do... I’m like Fabionader

Show 4 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.