Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > how can i work with php in mac

how can i work with php in mac
Thread Tools
Fresh-Faced Recruit
Join Date: Aug 2006
Status: Offline
Reply With Quote
Aug 6, 2006, 05:07 PM
 
hi
i'm new with mac and i use dreamwaver to design sites
i want to run a php file put i cant do than i dont know if mac osx support php
what is the server i have to use or instull like apache server
could u write the first steps to run the php file on may macbook pro with osx?

thanks
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Aug 6, 2006, 06:03 PM
 
Originally Posted by swan
hi
i'm new with mac and i use dreamwaver to design sites
i want to run a php file put i cant do than i dont know if mac osx support php
what is the server i have to use or instull like apache server
could u write the first steps to run the php file on may macbook pro with osx?

thanks

There are a ton of guides that explain how you can turn your Mac into a web server that supports PHP. An older version of PHP is even already built into the operating system. If you'd like to upgrade Apple's components, I'd suggest checking out Darwinports and using it to automatically compile newer versions.

I don't use Dreamweaver to design sites. If you're going to be doing a lot of PHP development, I don't see the point in using Dreamweaver unless you like using it as a text editor - I'm pretty sure it's built in WYSIWYG page rendering does not include a PHP interpreter.

I'd find a text editor you like if you want to get into PHP development, that's my advice.
     
Dedicated MacNNer
Join Date: Jun 2003
Status: Offline
Reply With Quote
Aug 6, 2006, 07:06 PM
 
A good starting point for PHP on Mac:
http://www.entropy.ch
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Aug 6, 2006, 07:11 PM
 
The documentation at:

http://www.php.net

Is superb. This is how I learned PHP coding. What sorts of things do you want to learn? Perhaps we can help?
     
Dedicated MacNNer
Join Date: Oct 2002
Location: the end of the world
Status: Offline
Reply With Quote
Aug 6, 2006, 07:41 PM
 
Hiya

Just a quick grab of some of my my reference links that I keep handy in voodooPad:

start here: php disabled? enable php | http://www.phpmac.com/articles.php?view=225

     
Mac Enthusiast
Join Date: Mar 2006
Location: Canada
Status: Offline
Reply With Quote
Aug 6, 2006, 07:57 PM
 
Actually guys, although those links are well and good, I think the best place to start is with MAMP. It turns your Mac into a PHP server with MySQL and all that jazz. All you do is run the installer and that's it. To turn it on you access the dashboard widget and click "Start Servers".

http://localhost:8888/ is your website. It works beautifully, and it's compatible with Intel.

Here's the website http://www.mamp.info/en/home/ and if you have any problems check the documentation in the download. It's very easy to follow.
 Certified AppleCare Technician
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:08 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2