• Hi,

    I am having a real challenge getting MAMP and WordPress on my iMac

    Up til now I have used CS2 to design my website. I am now leaping into the here and now and wanting to create a blog – then add my new website as static pages to it.

    I have read a good bit and I have now successfully downloaded MAMP

    I have also downloaded WP

    Now I am trying to work my way through The Famous 5 Minute Install, and I got this error message when I tried to install PHP.

      Error: PHP is not running

    WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.

    So, I tried to open up the wp-config-sample.php with a text editor and I can’t. All the files default to being opened in CS2 GoLive

    I guess this is Mac being too clever for itself. I sure don’t have the faintest idea what to do.

    Does this mean I cannot have MAMP and WP on the same iMac as I have CS2!!??

    Help!!!!

    Please tell me what to do next!!!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Howdy,

    Here is the abridged version 🙂

    1) you have downloaded MAMP … good, now you have to INSTALL IT and START IT! 🙂 By default, MAMP will start the Apache and MySQL servers when you start it; their indicators will be green when they are running; if not, click the ‘Start Servers’ button and wait until they turn green from red; they HAVE to be running to work on WP (or anything else) locally.

    2) your local WP (or whatever) sites go here:
    /Applications/MAMP/htdocs/
    – create a folder withing htdocs and call it mywordpress for example (lower case, no spaces)
    – copy the WP install ZIP to this location and extract it
    – you will then have a wordpress folder within mywordpress; select all the contents of wordpress and drag them “up one level” to mywordpress (you can then delete the empty wordpress folder

    3) bring the MAMP control panel to the foreground and click ‘Open start page’
    – click the phpMyAdmin menu item at the top
    – when phpMyAdmin opens, create a new, empty database; enter a name for the database (let’s use mywordpress to be consistent – lower case, no spaces) where it says ‘Create new database’ then click ‘Create’
    – once that shows ‘Database mywordpress has been created’, you can close phpMyAdmin

    4) now you’re ready to run the install 🙂
    – enter localhost:8888/mywordpress into your browser to begin the install
    – let the installer create the wp-config file
    – at the database section enter these values:

    Database name: mywordpress
    User name: root
    Password: root
    Hostname: localhost
    Table prefix: wp_

    – click Submit and if all goes well you will see the Run the install; click it 🙂

    Fill out the info on the next screen as required; on a local site, I always leave the username as admin and use 123123 for the password as it’s easy to type and remember! 🙂 Enter whatever you like, but then MAKE SURE you can remember it! … you’ll use this to log into the WP Admin … then click ‘Install WordPress’

    If you did everything correctly, you will see the ‘Success’ screen where you can click the ‘Log in’ to log into the site with the above-entered credentials 🙂

    That’s it! 🙂 … and I just did it and it took me less than 2 minutes 🙂

    So to access the site, it’s localhost:8888/mywrordpress and to access the admin login it’s localhost:8888/mywordpress/wp-admin

    BUT REMEMBER, MAMP HAS TO BE RUNNING for this to work 🙂

    Cheers!
    Lyle

    I should also note that you should NOT “left click” any of the WP files as they will, as you notice, open with whatever you have set as the default app to open them; in your case GoLive.

    Instead, “right click” (control-click on the Mac) and select ‘Open with’ from the popup and then choose TextEdit. NEVER, EVER use MS-Word or the like to edit PHP, HTML, CSS, files!

    Thread Starter Derby Stewart-Amsden

    (@derby-stewart-amsden)

    Lyle,

    A million thanks for your clear and detailed answer… I’m dashing out now, but will follow your directions tomorrow morning. Have a great Saturday night.

    Many thanks and hugs,
    Derby

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Clash when making WP local with MAMP, defaults to CS2’ is closed to new replies.