Zend framework on mac OSX: can I change the root Directory ?
how ?
I would like to set a directory in my home folder.
Otherwise I can only access to it by terminal
thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Which root directory are you talking about? The location of the ZF libraries, or your application’s root?
Either way, you can put things wherever you’d like.
For the ZF library itself, just stick it anywhere, and make sure ZendFramework-x.y.z/library is in PHP’s include_path
For your application, it’s just a matter of setting the DocumentRoot in your apache configuration to the public/ directory in your project.