Use Zend Framework 2 from sub folder

I just started testing the Zend Framework 2, and I wanted to give it a quick look around with the Skeleton Application. I didn’t want to add virtual hosts to my local Apache, as I have more important stuff I’m working on, so I just wanted to make a folder for it and run the application.

I’ve read some post about placing it in sub folder, but the real thing was much simpler. What I did was installing the application in http://localhost/zend/, then just copied everything from “public” folder to the sub folder root . After that, it was enough just to comment out the line:

 

It’s just as easy as that, navigate to  http://localhost/zend/, and you should be presented with skeleton application.

, ,

One Response to “Use Zend Framework 2 from sub folder”

  1. saverio October 1, 2013 at 4:54 pm # Reply

    Hi clone,

    Hi applied your solution but it not work for me. I get the “Internal Server Error”. I used version 2.2.4.

    Any ideas ?

    Thank you so mush

Leave a Reply