Enabling PHP

J

JGarcia

Guest
Im somewhat new to macs, i know some unix commands and such but for the most part i really need things spelled out...
My question is how does someone go about enabling php on a local machine. all i want to do is write PHP scripts and run them from my computer. I guess something needs to be done with the apache config files but i dont know so any help would be appreciated.
 
Joined
Jun 11, 2003
Messages
4,915
Reaction score
68
Points
48
Location
Mount Vernon, WA
Your Mac's Specs
MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2
Probably the best way for newbies is to go to entropy.ch and download and install the PHP module there. You will then be updated to the latest and greatest PHP version and it should automatically be started for you and on that page you'll see FAQ's and other installing troubleshooting techniques.

Cheers!
 
Joined
Jan 15, 2003
Messages
4
Reaction score
16
Points
3
Location
Whangarei, New Zealand
Your Mac's Specs
Pwnt
Once it's installed you have to turn on Personal Web Sharing in Sharing prefs, then put all your php scripts (and any other things you need) in Library > WebServer > Documents. Then your pages are accessible from: tp://localhost/folder/filename.php (outdated link removed)
 
OP
M

mgm_03

Guest
i would highly recommend w.serverlogistics.com for EASY installations of PHP MySQL on Mac (outdated link removed)
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top