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 https://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:
1 |
// Change the folowing line: chdir(dirname(__DIR__)); // to: //chdir(dirname(__DIR__)); |
It’s just as easy as that, navigate to https://localhost/zend/, and you should be presented with skeleton application.