Wednesday, September 30, 2009

Activating Output Buffering on MAMP PRO

  1. Start MAMP PRO
  2. Select File -> Edit Template -> PHP4 php.ini / PHP5 php.ini
  3. Search this line "output_buffering = Off"
  4. Change "Off" to "On" or to a maximum number of bytes instead (for example "4096")
  5. Save the file
  6. Start Servers

Share/Save/Bookmark

Wednesday, September 23, 2009

How-to: Local Mac OS X FTP Server with TextWrangler

We already wrote two posts about using Mac OS X FTP Server:
We got some questions concerning the setup of FTP connections with the free Editor TextWrangler (provided by Bare Bones) referring to a certain directory. How this can been done is not very obvious, because the according dialogue lacks of the possibility setting up a path.
But there is a solution: Open TextWrangler and go to File -> Preferences. You will find "FTP Settings". Enter your connection data including the desired path and you are done.

Share/Save/Bookmark

Monday, September 21, 2009

How to show your MAMP logs within a widget

If you are tired of checking your MAMP error logs within the console you maybe should have a look at this tiny little widget: Syslog viewer. Syslog viewer allows you to add several Pathes to different log files which are then shown at one screen.

The Pathes for MAMP are by default:

Apache/Applications/MAMP/logs/apache_error_log
MySQL/Applications/MAMP/logs/mysql_error_log.err
PHP/Applications/MAMP/logs/php_error.log

Share/Save/Bookmark

Thursday, September 17, 2009

How-to: Install ExpressionEngine on MAMP

In this tutorial we want to show how to install the free version of ExpressionEngine using MAMP.

  1. Install MAMP -> How to install MAMP
  2. Use the Finder and create a folder "ExpressionEngine" at this directory: "/Documents/Websites/"
  3. Open MAMP
  4. Click on Preferences button to open MAMP Preferences

  5. Click on the "Apache" Tab.
  6. Click on "Choose"
  7. Choose this directory: "/Documents/Websites/Expressionengine"
  8. Click on open
  9. This directory should appear within the field "Document Root": /Users/yourusername/Documents/Websites/ExpressionEngine



  10. Click OK
  11. Click on "Start Servers" button to start the server
  12. Click on "Open start page" button
  13. Click on the Tab "phpMyAdmin"
  14. Enter the value "expressionengine" (without quotes, all lower case) into "Create new database" field
  15. Choose the value "utf8_general_ci" using the "Collation" select-box



  16. Click on "Create" button
  17. Close your Browser window
  18. Delete files eventually created automatically at the directory "/Documents/Websites/Expressionengine"
  19. Download the ExpressionEngine installer
  20. Unzip the installer
  21. Copy the files from the EECore1.6.8 directory into "/Documents/Websites/Expressionengine"
  22. Start your Browser
  23. Open the URL http://localhost:8888/install.php
  24. "ExpressionEngine Installation Wizard" will start
  25. Click "Click here to begin"
  26. Agree to the licence
  27. Click submit on the next Screen ("Name of your "system" folder")
  28. Navigate to "Database Settings" on the following screen ("Enter Your Settings")
  29. Enter all following values:

    FieldValue
    MySQL Server Addresslocalhost
    MySQL Usernameroot
    MySQL Passwordroot
    MySQL Database Nameexpressionengine
    Database Prefixexp

  30. Navigate to "Create your admin account".
  31. Choose a Username, a Password and a Name for your site
  32. Navigate to "Localization Settings"
  33. Choose your timezone
  34. Click on "Click here to install ExpressionEngine!"
  35. User the Finder to delete the "install.php" file at the "/Documents/Websites/Expressionengine" folder
  36. You are done
Now you can navigate to the Control Panel by opening the URL: http://localhost:8888/system/index.php. Login by using your username and password used at step 31.

Your website URL is http://localhost:8888/index.php


Share/Save/Bookmark

How to install MAMP

Quick & easy:
  1. Download the installation package
  2. Double click the file to unzip it
  3. Double click the disk image to mount it
  4. A licence dialogue pop ups
  5. Click on "Accept"
  6. A Finder window will pop up
  7. Drag the MAMP folder into your Applications folder
  8. You're done!
Cool!

Share/Save/Bookmark

Tuesday, September 15, 2009

How to: Sending Emails with MAMP PRO

Sometimes you may need to send an email with PHP. To do so you have to configure and start Postfix. Ok, you could read the Postfix documentation, but it´s a bag of hurt. An easier way getting Postfix run is using the configuration tool built into MAMP PRO.
If you want to use the PHP function mail() for sending emails to your own email address (like mail@johndoe.com) you just need to open MAMP PRO, go to Server -> Postfix and add the value "johndoe.com" (without quotes and the according domain name) into the field "Domain of outgoing mail".

If you want to send emails to any other addresses, activate the checkbox "Smart Host" and fill in the according fields:

Host: Fill in your server name for outgoing emails. This could be for instance "smtp.johndoe.com" (without quotes). Ask your provider if you are unsure about the server name.

User: Add the user name of your mail account.

Password: Add the password for your email user account.

Authentication: Leave to "None"

Click the button "Change Postfix configuration". Everything should work now. If it doesn't: Some providers do not allow Smart-Hosts, like Google and Gmail. So you should probably check this first.

Share/Save/Bookmark

Testing Content Management Systems with MAMP

We certainly can´t test every single CMS on the market. But we tried the most common open source content management systems with MAMP. Although it´s not really a CMS we also tested Wordpress. And the news is: All tested systems worked perfectly with MAMP!

As lots of complex Content Management Systems are requiring more PHP memory than the default 8MB MAMP is offering we increased the PHP memory limit to 32MB. Read this post to learn how it works.

Here is the list of all tested Systems (in alphabetical order):

NameVersionTesterTest date
CMS Made Simple1.6.5MAMP Team (D. E.)13.09.2009
CMSimple3.3Anonymous12.02.2010
Drupal6.13MAMP Team (D. E.)13.09.2009
Frog CMS0.9.5Anonymous17.12.2009
ExpressionEngine1.6.8MAMP Team (D. E.)16.09.2009
Joomla!1.5.14MAMP Team (D. E.)13.09.2009
MODx1.0.2MAMP Team (D. E.)05.03.2010
papaya CMS5.0 RC1MAMP Team (D. E.)13.09.2009
REDAXO4.2.1MAMP Team (D. E.)13.09.2009
phpwcms1.4.5Oliver Georgi10.10.2009
SilverStripe2.3.3ConnyLo02.11.2009
SPIP1.9Anonymous01.12.2009
SPIP2.10Anonymous01.12.2009
Textpattern4.2.0MAMP Team (D. E.)13.09.2009
TYPO34.2.8MAMP Team (D. E.)13.09.2009
TYPOlight2.6Dolores Moser25.10.2009
webEdition6.0.0.6MAMP Team (D. E.)13.09.2009
WebsiteBaker2.7Anonymous09.12.2009
Wolf CMS0.6.0Anonymous17.12.2009
WordPress2.8.4MAMP Team (D. E.)13.09.2009

We hope we could answer some common questions like "Does system XYZ work with MAMP?" If your favorite System is not mentioned yet please feel free to add a comment so we can expand this test.

Update 2009-09-16: ExpressionEngine added.
Update 10.10.2009: phpwcms added.
Update 25.10.2009: TYPOlight added.
Update 02.11.2009: SilverStripe added.
Update 01.12.2009: SPIP added.
Update 09.12.2009: WebsiteBaker added.
Update 17.12.2009: Wolf CMS & Frog CMS added.
Update 12.02.2010: CMSimple added.
Update 05.03.2010: MODx added.

Share/Save/Bookmark

Sunday, September 13, 2009

Setting Up Your Mac For Local Development Using Coda, WordPress & MAMP

Jay Robinson wrote a great step by step tutorial how to Setting Up Your Mac For Local Development Using Coda, WordPress & MAMP. Check it out!

Share/Save/Bookmark

Thursday, September 10, 2009

Installing MAMP and CodeIgniter

There is a great screencast by jdfwarrior on how to installing MAMP and CodeIgniter, and setting up your first controller and view.


Share/Save/Bookmark

Wednesday, September 09, 2009

YouTube MAMP Channel

Yesterday we announced the opening of the MAMP Channel at Vimeo. Today we are announcing the MAMP Channel at YouTube where you will find more video tutorials about MAMP & MAMP PRO.

If you already made your own screencast about how to work with MAMP or MAMP PRO just upload it to YouTube and drop us a line in the comments so we can add it to our MAMP & MAMP PRO Channel. We promise to give you a mention and a backlink on our blog.

Share/Save/Bookmark

Increase the PHP memory limit with MAMP PRO

Most PHP applications can easily handle the default PHP memory limit of 8 MB. But more complex web applications, like content management- or blog-systems, do need an increased memory-limit. With MMAP PRO you can easily increase the PHP memory limit. Therefore you simply have to change some data within the php.ini file.

Here is how it works:
  1. Start MAMP PRO
  2. Stop the server if it's running
  3. Choose Menu -> File -> Edit Template -> PHP4 php.ini (If you want to change the memory limit for PHP5, then choose PHP5 php.ini)


  4. The PHP ini file will be opened.
  5. If a dialogue box pops up, read it and confirm with OK
  6. Search (Command-F) for "memory_limit" (without quotes)
  7. You should get the following line:
    memory_limit = 8M ; Maximum amount of memory a script may consume (8M)
  8. Now you can change the default value of 8M. For instance. into 32M or even more (like 128M)
  9. Save (Command-S) your changes.
  10. Close (Command-W) the file.
  11. Start the Server.
Now all PHP scripts can make use of the increased memory.

Please be aware of the fact that some ISP's are limiting the PHP Memory by default. This means, even if everything works fine on your local system, it probably will not work on the live system of your ISP.

Share/Save/Bookmark

Tuesday, September 08, 2009

Quick Command-Line Tips For Local Drupal Development With MAMP

Josh Koenig wrote a great article "Quick Command-Line Tips For Local Drupal Development With MAMP". Check it out!

Share/Save/Bookmark

MAMP & MAMP PRO 1.8.2 released

We've just released a free bugfix update of MAMP & MAMP PRO: Version 1.8.2 fixes two issues of MAMP 1.8.1:
  • Current MySQL port wasn’t displayed at the WebStart page
  • Preferences wasn’t saved correctly at MAMP
This update is already available on our download page. Don't hesitate to report any other bug you may find to our bugbase so we can fix it as quickly as possible.

Enjoy!

Share/Save/Bookmark

Vimeo MAMP Channel

Sometimes a picture tells more than a thousand words - and videos are doing an even better job. Lots of MAMP & MAMP PRO users have generated lots of screencasts showing off how to work with MAMP & MAMP PRO.

So we thought it would be a good idea to start a MAMP & MAMP PRO Video Channel at Vimeo. Now you can find out how to set up virtual hosts, how to work with Cold Fusion, Wordpress, etc, or how to handle with databases.

If you already made your own screencast about how to work with MAMP or MAMP PRO just upload it to vimeo and drop us a line in the comments so we can add it to our MAMP & MAMP PRO Channel. We promise to give you a mention and a backlink on our blog.

Share/Save/Bookmark

Monday, September 07, 2009

Install and run wordpress locally with MAMP for Mac OS X

Dario Gutierrez wrote a great step by step tutorial how to install and run wordpress locally with MAMP for Mac OS X. Check it out!

Share/Save/Bookmark

Getting command line access to PHP and MySQL running MAMP on OS X

Joaquin Lippincott wrote a great step by step tutorial how to getting command line access to PHP and MySQL running MAMP on OS X. Check it out!

Share/Save/Bookmark

Saturday, September 05, 2009

MAMP & MAMP PRO 1.8.1 released

We've just released a bugfix update of MAMP & MAMP PRO: Version 1.8.1 fixes three issues of MAMP 1.8.0:
  • Adds missing InnoDB support for MySQL
  • Fixes some PHP warnings on the MAMP WebStart page
  • The "How to upgrade" document (disk image) now shows the correct MAMP logo
This update is already available on our download page, don't hesitate to report any other bug you may find to our bugbase so we can fix it as quickly as possible.

Enjoy!

Share/Save/Bookmark

Friday, September 04, 2009

MAMP and InnoDB at MySQL

The MySQL Version 5.1 packaged in MAMP 1.8 does not contain the Storage-Engine InnoDB. We are actually working on the implementation of InnoDB. We soon will be releasing MAMP 1.8.1. This new version will fix the issue.

Share/Save/Bookmark

Thursday, September 03, 2009

MAMP & MAMP PRO 1.8 released

It's done! After more than a year there is finally a brand new version of the well-known and popular server stack MAMP and the professional configuration tool MAMP PRO: Version 1.8. (download page) - and of course ... this version of MAMP & MAMP PRO is indeed compatible with Mac OS X 10.6 Snow Leopard.

Though, until I get to the new features and improvements, I'd like to announce that the complete development of MAMP and MAMP PRO has been taken over by appsolute GmbH since August 2009. The best thing is that all developers who where involved with these applications in the past are again part of the MAMP team. To increase the availability of the website and the bug tracker, we've already moved them to new and more powerful servers.

We're still working on the 1.x branch of MAMP, but the new version 2.0 is already on our roadmap for the near future.

Now to the tech stuff:

As a matter of course, this version includes updated versions of all of MAMP's components:
  • Apache 2.0.63
  • MySQL 5.1.37
  • PHP 4.4.9 & PHP 5.2.10
  • APC 3.0.19 & APC 3.1.2
  • eAccelerator 0.9.5.3
  • XCache 1.2.2
  • phpMyAdmin 2.11.9.5 & phpMyAdmin 3.2.0.1
  • Zend Optimizer 3.3.3
  • SQLiteManager 1.2.0
  • Freetype 2.3.9
  • t1lib 5.1.2
  • curl 7.19.5
  • jpeg 7
  • libpng-1.2.38
  • gd 2.0.34
  • libxml 2.7.3
  • libxslt 1.1.24
  • gettext 0.17
  • libidn 1.15
  • iconv 1.13
  • mcrypt 2.5.8
  • YAZ 3.0.47 & PHP/YAZ 1.0.14
You may have noticed the two different versions of phpMyAdmin. That's because the current version does not run on PHP4 any more, so there is now a different version each for PHP 4 and PHP 5.

We've also included the great Xdebug extension for PHP, created by Derick Rethans. It is a great help on debugging your web applications to locate and eliminate memory leaks and other errors. A MUST for every PHP developer!

Another focus of this release is the stability of MAMP and all it's components. We continuously test MAMP and MAMP PRO since we also use them as a development environment for our web development projects. So usually it doesn't take long until a MAMP developer gets informed about a new bug and fixes it.

We've also added a few maintenance utilities for the MySQL database server and its tables to MAMP PRO as well as to the free MAMP, they are located in a menu called "Tools".

The MAMP start page also has been completely redesigned and considerably improved by adding an additional sidebar containing more informations about new updates as well MAMP tricks and links to interesting web development resources on the web.

The MAMP Dashboard Widget has been slightly redesigned and fixed some minor bugs.
You can find detailed informations about how to upgrade your current installation (up to 1.7.2) to the new 1.8 release as a PDF document within the disk image, So there shouldn't be anything in the way of upgrading to this brand new release.

Finally we want to promise that there will never pass a whole year again without any bug-fix updates for MAMP and MAMP PRO. In the future we will observe a much tighter time frame and significantly shorten our release cycles.

As a small gift we offer you MAMP PRO at half price until the end of this week (2009-09-06). Just enter the voucher code "mamp-pro" (without the quotes) upon purchase to save 50%!

Share/Save/Bookmark