deploying

How to deploy and run a zend project on a server?

微笑、不失礼 提交于 2019-12-04 13:54:04
问题 I have a question about deploying Zend project on a server. On localhost I used virtual host to set the document root to the public/index.php folder. How should I deploy it now? I have copied whole my project on the server but it is not working as all my paths are wrong (as all are set up relative to the public folder). What should I do? Is is possible to set all my paths relative to the my home path on the server? How can I redirect my application to any controller in this situation? Or