This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > June 2004 > PHP MYSQL ON MAC OS X





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author PHP MYSQL ON MAC OS X
John765

2004-06-09, 6:03 pm

How do I know if PHP, Apache, mysql is already installed on my mac OS x computer? How can I install it?
thanks.
mzanime.com

2004-06-09, 6:03 pm

Installing PHP on OS X is quite easy, I'm not sure about Apache and SQL though.

http://www.entropy.ch/software/macosx/php/

I was only able to preview my PHP scripts for pages I placed inside the
/Sites/ folder though.


Mick White

2004-06-09, 6:04 pm

PHP, Apache and mysql should be pre-installed.
Place the following in the window location of your browser.
http://localhost/

You should see Apache default page.(If so, it's installed)
Mick

John765 wrote:

> How do I know if PHP, Apache, mysql is already installed on my mac OS x computer? How can I install it?
> thanks.

Scott Fegette

2004-06-09, 6:05 pm

webforumsuser@macromedia.com says...
> Installing PHP on OS X is quite easy, I'm not sure about Apache and SQL though.
> http://www.entropy.ch/software/macosx/php/


Apache is usually preinstalled (it's the default 'personal web server'
in OSX), mysql may be preinstalled but if not, Mark Liyanage's pages
(the link in the quote above) points to all the necessary
components/installation instructions.

For a walkthru on setting up DWMX from scratch with a
OSX/Apache/mySQL/PHP system, you can check out this dev center tutorial
(written for Dreamweaver MX but still valid, IIRC):
http://www.macromedia.com/devnet/mx...php_macintosh.h
tml

> I was only able to preview my PHP scripts for pages I placed inside the
> /Sites/ folder though.


Yes- you need to honor the default web server document root directories
unless you hack Apache to look elsewhere for them. You can also use the
/Library/WebServer/Documents directory (the default Apache document root
on OSX) as your local site definition.

HTH!

-Scott
Macromedia, Inc.
Joaquim Lopes

2004-06-10, 7:14 pm

Originally posted by: vector211
Check out the MacWorld article from November, 2002 titled "Build Dynamic Web
Sites Without Leaving Your Mac". It is written for OSX 10.1 but is still valid
for 10.3.

http://www.macworld.com/2002/11/features/database/

Or check the excelent artricles on the O'Reilly
http://www.macdevcenter.com/pub/a/m...ebserving.html.

Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews