How to deploy and run a zend project on a server?
问题 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