What is an electronic folder structure?

What is a tidy folder structure for PHP libraries in MAMP?

  • I have installed MAMP in /Applications/MAMP/. I have installed Zend in /usr/local/zend. I want to install the facebook PHP library. I'm thinking what's a tidy folder structure for such libraries? Should I move zend within the MAMP folder? If at some point I want to uninstall MAMP I may still need the libraries for my IDE.

  • Answer:

    Put them in /usr/local/php/vendor, something like /usr/local/zend :) And don't forget to add this path into the include_dir of your php.ini

Sylvain Robez-Masson at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.