Tagged: mamp Toggle Comment Threads | Keyboard Shortcuts

  • Jay Versluis 8:50 am on March 20, 2014 Permalink | Reply
    Tags: mamp   

    Categories: PHP ( 26 )

    How to switch between several PHP versions in MAMP 2.x 

    mamp logoSometimes you need to test your projects against multiple versions of PHP.

    If you’re using MAMP that’s fairly easy to do: head over to the MAMP Start Screen, select Preferences and see two versions to choose from.

    Here I’m using MAMP 2.2 (even though 3.x has been released already) and I have PHP 5.2.17 and PHP 5.5.3.

    When I switch to the other version MAMP restarts and I can refresh my browser to see my project running on the other PHP version.

    Screen Shot 2014-03-20 at 08.31.06

    Screen Shot 2014-03-20 at 08.31.12

    That’s all good if I actually needed either version – but sadly 5.2.x is too old for me, and 5.5.x doesn’t quite work and is a bit too cutting edge. I need it to reflect my production environment.

    So what is a boy to do?

    (More …)





     
    • pepperstreet 6:37 pm on November 21, 2015 Permalink | Reply

      Hello, anyone tried to update and use PHP > 5.5.3 in MAMP 2.2 ?
      Would like to keep MAMP 2.2 and add a newer PHP version on my older laptop/OSX.
      Thanks in advance.

      • Jay Versluis 10:41 pm on November 21, 2015 Permalink | Reply

        Hi pepperstreet, I’ve only tried older versions and they worked a treat, 5.5.3 came pre-installed with MAMP and also worked well. I can also tell you that when you install MAMP 3, it will install itself alongside MAMP 2 so if you want to try even newer versions of PHP, see if MAMP 3 works for you (and if not, simply keep using MAMP 2).

        Hope this helps!

    • Philipp 4:08 am on January 5, 2016 Permalink | Reply

      This doesn’t seem to work with PHP 7. Checkbox is grayed out.

      • Jay Versluis 10:00 pm on January 5, 2016 Permalink | Reply

        Is this on Mamp 2 or 3?

    • Philipp 2:14 pm on January 6, 2016 Permalink | Reply

      I updated to MAMP 3.5 and it’s working now. Was previously on MAMP 3.2.1.

  • Jay Versluis 6:35 pm on February 15, 2014 Permalink | Reply
    Tags: , mamp,   

    Categories: PHP ( 26 )

    How to install ZEND Framework for use with MAMP 

    ZEND_logoIf you have MAMP installed and working on your Mac, it’s easy to get started with ZEND Framework development. I’ll show you how in this article.

    Download the framework from here:

    Choose the full version without ZEND Server (not necessary as we’re using MAMP). Unpack the download and put it somewhere safe. I’m adding mine to my Documents directory. I’ll also rename my folder to something like “ZendFramework” without the version number.

    To access it from anywhere on our machine we’ll create an alias named “zf”. zf is a shell script provided by the framework that we’ll need throughout our development journey with ZEND. Let’s to this in a Terminal session:

    alias zf="/Users/you/Documents/ZendFramework/bin/zf.sh'

    Replace the path with your own. Notice the call to /bin/zf.sh which is the “real” shell script. Our alias has just made this universal and accessible without having to mess with our shell path.

    Verify that it’s working with this:

    zf show version
    
    Zend Framework Version: 1.12.3

    Read the full article





     
    • nashivor 6:05 am on February 17, 2014 Permalink | Reply

      Installation Process of Zend Famework using Mamp define in this blog step by step..

  • Jay Versluis 8:34 pm on February 18, 2013 Permalink | Reply
    Tags: mamp   

    Categories: MySQL ( 19 )

    What is the default MySQL password for root in MAMP? 

    mamp_home

    It’s root.

    This is not the same on a vanilla MySQL install where the root user is not secured by a password by default – however under MAMP it is.

    So on a fresh MySQL install the credentials are

    User: root
    Password: (nothing)

    Under MAMP (and presumably MAMP Pro) they are

    User: root
    Password: root

    Now we know – thank you Aral ๐Ÿ˜‰





     
  • Jay Versluis 12:10 pm on February 15, 2013 Permalink | Reply
    Tags: local, local installation, mamp, wamp server, xampp   

    Categories: Screencast, WordPress ( 74 )

    How to run WordPress on your Laptop 

    In this new Podcast Season I will start things off by showing you how to run WordPress on your laptop. I will explain this on a Mac, but the process is very similar (if not identical) on a PC. All you need is an installer that gives you Apache, MySQL and PHP on your local machine.

    Don’t worry if you don’t know what this means, I’ll explain it in the screencast. Here are links to these packages:

    You’ll also need a copy of WordPress which you can download here.

    If anything is unclear please let me know below. As always, enjoy!





     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel