Page 1 of 1

Newbie question...I can't see web page, only list of files

PostPosted: 30. October 2015 08:37
by karma
I have a dummies question :(

While viewing files on xampp, I can see all php websites on the browser here http://127.0.0.1/sites/xyz
No problem :)

But recently when I uploaded a Zend Framework site, and attempted to view it on browser it shows me a whole list of files and directories, but not the actual webpage.

Do I have to tweak anything to be able to be able to view these files? Just fyi...these files have .phtml extensions

Thanks for your help!

Re: Newbie question...I can't see web page, only list of fil

PostPosted: 30. October 2015 09:47
by Altrea
phtml in Zend Frameworks are template files.
They don't get requested in your Browser directly but included by The Zend Framework controller.

Either you have wrongly configured the DocumentRoot folder of Zend Framework or the Zend Framework Frontcontroller File Index.php is missing.

At the end it is a Zend Framework problem, not a Xampp problem