Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

New Mac - Getting started with PHP

Posted on 2011-02-17
8
Medium Priority
?
340 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
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

610 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