Solved

New Mac - Getting started with PHP

Posted on 2011-02-17
8
336 Views
Last Modified: 2012-05-11
I have just got a new Mac and need to know how to a) get PHP working and b) what tools do I use to develop PHP?

On the PC I use NotePad++, but do Apple offer any such tools? What is the industry standard? Can XCode be used for PHP developing, or is it just for C?

I like tabbed editing.
0
Comment
Question by:numberkruncher
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 13

Author Comment

by:numberkruncher
ID: 34915791
is Coda any good? or is there better?
0
 
LVL 5

Expert Comment

by:JermTheWorm
ID: 34915830
Most people using apple tend to use textmate, there is some php plugins/language addons for it, but you can also look at komodo and xcode does apparently work as well.
0
 
LVL 8

Accepted Solution

by:
rationalboss earned 167 total points
ID: 34916974
0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 13

Author Comment

by:numberkruncher
ID: 34918313
cheers guys.

I have managed to get php 5 working. but i am having trouble with MySQL. Is it installed by default? I have added phpMyAdmin and added localhost, but what would the default username and password be?
0
 
LVL 110

Assisted Solution

by:Ray Paseur
Ray Paseur earned 167 total points
ID: 34921154
MySQL is not part of the native installation.  See the notes here:
http://us3.php.net/manual/en/mysql.installation.php

A good place to start your reading about MySQL in PHP is here:
http://us3.php.net/manual/en/book.mysql.php
0
 
LVL 11

Assisted Solution

by:VanHackman
VanHackman earned 166 total points
ID: 34923559

As long as you are "getting started" I will suggest you to use one of those packages which install all that you need, with a couple of "clicks"

In this case the MAC version of XAMPP will be quite enought:

http://www.apachefriends.org/en/xampp.html


It will install Php, MySQL and Apache at once.

This kind of installation is not very personalized, but it's the best way to start.

When you got more familiar with Php, and MySQL you could try to make a custom installation of each of them.

Regarding the Tools, as long as I have heard Coda, is one of the best solutions for web development under a MAC enviroment:

http://www.panic.com/coda/

Hope this helps!.
Kind Regards,
Oxygen+ Team
0
 
LVL 5

Expert Comment

by:JermTheWorm
ID: 34923720
I +++ the xampp as it also gives you an easily installable CMS take your pick of the better ones.
0
 
LVL 13

Author Closing Comment

by:numberkruncher
ID: 34924816
Thanks guys, I managed to get MySQL working in the end.

It took me a while to get my previous projects working on their. One of the things which I found the most challenging was enabling htaccess and adding

[code]Options +FollowSymlinks[/code] at the top of my .htaccess files. I am not sure yet what this actually does, but it is all working!!

I have downloaded the trial to Coda and am somewhat impressed. It has got pretty much everything that I need all under one roof. I also downloaded Eclipse for PHP, but I am not particularly impressed with that one. XCode seems great for creating C/C++ apps and iPhone apps (which I might have a play with), but it doesn't seem to be possible to create PHP or Web Projects (unless I am missing something).

Thanks again,
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Unable to print PDF document on Mac laptop 6 45
MySqli Real Escape String and SQL Injection 1 44
Session time out quickly. 6 24
Put POST values into cookies. 14 32
In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
The viewer will learn how to count occurrences of each item in an array.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question