简体   繁体   中英

How to Set up Zend Framework 2 On Server

I am trying to deploy a Zend Framework 2 Application. I want to set the DocumentRoot to the public folder (inside zend). It does not currently seem to be working.

Using a Centos 6 Os

The path looks correct and I have restarted the server (its a vps).

I think I'm updating hte right file because if the path is incorrect I get a server error. Currently it is taking me to the public_html folder and I have to navigate to the public.

Thank you, Matt

I followed the steps on the link below and was able to point the server to the correct point. Following Tims suggestion I am in the process of moving everything out of the public html directory and pointing the server to home/public/index.php.

http://www.inmotionhosting.com/support/website/file-management/changing-the-document-root-with-root-access

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM