Solved

New Mac - Getting started with PHP

Posted on 2011-02-17
8
333 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
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
 
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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 108

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Macbook has frequent sleep / awake failures 25 78
Mac Online Backups 7 49
php variable basic question 12 29
Instering to MySQL table 5 22
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now