if you have the Network settings in System Preferences set to use a proxy server for Web traffic), you will need to also add your entry to the 'Bypass proxies for these domains' field (localhost/127.0.0.1 should already be present here). Now, if you are behind a proxy server (i.e. Now, flush Mac OS X's DNS cache by typing:.Save the file by pressing Control+O (this writes the file) and then Return when it says 'File Name to Write:', then press Control+X to exit nano.In the hosts file, add a new line after the line that reads 127.0.0.1 localhost:.Open up Terminal (in Applications > Utilities), and type in $ sudo nano /private/etc/hosts.Restart Apache (in MAMP, click stop servers, then start servers).Put in the following at the end of the file:.(it is better for PHP to work in Module Handler mode) Nebojsa Tomcic at 11:57 thank man I've solved in the meanwhile. Then you can select 'Start Groupstart Servers on System Startup'. Edit MAMP/Apache's nf file - it's located at /Applications/MAMP/conf/apache/nf You should uncheck option 'Start Groupstart Servers when opening MAMP PRO'. ![]() Alternately, if the project is highlighted in the Projects window, you can click the Debug Project icon ( ) in the main toolbar. Debugging PHP Projects To debug a PHP project in the IDE, right-click the project in the Projects window and choose Debug. Here's what I did to use to access a multisite in a Drupal installation using MAMP (the folder is located within Drupal's /sites/ folder): Start (or restart) the MAMP Apache server. This is important when doing multisite work, as it lets you use Drupal's built-in multisite capabilities without having to hack your way around using the url. typing in instead of localhost to get to a site). One problem I've finally overcome is the use of actual domain host names for development (i.e. ![]() I've begun working a lot more with Drupal multisites, as doing so saves a lot of time in certain situations (usually, when you have a large group of sites that use the same kinds of Drupal modules, but need to have separate databases and front-end information.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |