PDA

View Full Version : PHP 5 or PHP 6


Chapo
08-22-2010, 04:24 AM
Ok... just want to start learning PHP with MySqL, but not sure wich one to learn, PHP 5 or PHP 6, any advise ?

Doesn't matter if i'm a Mac user ?

Ricky55
08-22-2010, 08:48 PM
Being a Mac user doesn't make any difference as PHP is a server side scripting language. The only thing is that the Mac is very simple to set up a local testing environment up on as it has Apache web server built into the OS and using MAMP with Mac OS is very straight forward.

I dont think PHP 6 even exists yet mate, the latest stable release is 5.3.3. Most servers these days tend to run 5 but a lot still do have 4.

If you install MAMP to set up a local test environment that uses 5.2 I think. Most of these point releases are security fixes etc not major changes to the language.

Download MAMP here
http://www.mamp.info/en/index.html

There's a video tut on this site that tells you how to set it up with Dreamweaver but the best video tut I've seen is on a Podcast called the Mac App Guide,episode 22, he even shows you how to set up a local test version of WordPress but covers every aspect of setting up MAMP.

I actually use Coda for the Mac for my web dev, I prefer it to Dreamweaver.

Get back to me if you need any help setting it up.

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

Chapo
08-23-2010, 02:43 AM
Thanx Ricky... i'll let yo know... nice help

davidj
08-23-2010, 09:59 AM
Yes most hosts run a variety of versions with 5.x.x.x being top end. They have to keep older versions running due to clients legacy apps but its not difficult to config your own requirements.

I had to downgrade the version I use due to a Drupal bug (only supports 5.2 not 5.3) but it wasn't much hassle.

I'm pleased your getting into it at last

Ricky55
08-23-2010, 06:15 PM
Did your PHP uploads video tut the other day DJ.

davidj
08-23-2010, 08:22 PM
nice one

they need updating

maybe I'll do some OOP step by step tuts

Chapo
08-23-2010, 10:04 PM
Hey Davidj.... i believe we talked about some classes of php with mysql.. right ?

davidj
08-23-2010, 10:07 PM
check my site and follow the instruction

edbr
08-24-2010, 01:02 AM
maybe I'll do some OOP step by step tuts
that would be a great addition