Creativebits.org

an All Creative World site
Ivan's picture

Installing php on OSX

Have you done it before? I'm gonna try it now. Give me advice! :D

Commenting on this Forum topic is closed.

Adam P's picture
1 pencil

My new iBook, which came with Panther pre-installed, already had PHP. I just had to enable it in httpd.conf. This article will help you out:

http://www.macdevcenter.com/pub/a/mac/2002/01/04/apache_macosx_pt3.html

Ivan's picture

wow. it really did? did you install anything that runs on php to test it?

thanks for the link. will do it Today. wish me luck. :)

sleepyb's picture
1 pencil

i'm probably a bit late for a reply here but since I just found this site/forum and registered i'm reading through the old posts and thought i'd share my thoughts.

a simple test i use to check php is installed correctly (and to verify the php parameters) is to make a phpinfo page. it's just a page with the following script in it

<%

// Show all information

phpinfo();

// Show just the module information.

phpinfo(INFO_MODULES);

%>

save this as anything with a php extension and place it on your webserver. if php is successfully installed you should get a nicely formatted list of details. i use this whenever i setup a new development machine and from memory (although i only use os x / apache now) it works with apache and iis.

good luck,

sleepyb

Ivan's picture

thanks. that does work :)

Viridian's picture
66 pencils

In the course of my adventures of getting PHP and MySQL installed on my compter, somebody recommended this program:

http://www.webedition-cms.com/english/downloads/mamp.php

Kinda of "one stop shopping" for getting everything set up and running.

I thought I'd pass it along. :D

suzy

Creativebits is a blog about creativity, design and Macs. We also have a critique section where you can post your work to get opinions and a forum to discuss any design related topics.

Recommend us on Google

Latest critique

Do you need a great new logo?

If you need a logo for your company or product you can get it done with us.
In our logo store you can pick from over 28,000 pre-made logos that will be customized to your name for free or you can post a contest for us for just $250 and our designers from all over the world will submit dozens of logo design suggestions to your specific needs.

Marketplace