?
Solved

New Mac - Getting started with PHP

Posted on 2011-02-17
8
Medium Priority
?
339 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 668 total points
ID: 34916974
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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 111

Assisted Solution

by:Ray Paseur
Ray Paseur earned 668 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 664 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
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 …
Suggested Courses

777 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