Trying to install PHP on mac os x snow leopard

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
arya202
Forum Newbie
Posts: 2
Joined: Mon Apr 26, 2010 9:42 pm

Trying to install PHP on mac os x snow leopard

Post by arya202 »

I'm trying to use PHP on Mac OS X Snow Leopard (version 10.6) and I found this tutorial online on how to activate it

http://stackoverflow.com/questions/1293 ... ow-leopard

The first thing it says is to locate a file in the terminal and open it up with an editor (I'm using EMACS) and uncomment a line of code that loads the PHP module. EMACS says the file is read only and that I can't edit it when I try to uncomment the file.

Can anyone tell me how to make the file writable or let me know any kind of workaround? Thanks a lot guys.
User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Re: Trying to install PHP on mac os x snow leopard

Post by Jonah Bron »

I don't use Mac, but Google tells me that he thinks the Sudo command can be used to execute commands with super-user permissions.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: Trying to install PHP on mac os x snow leopard

Post by Benjamin »

:arrow: Moved to Installation and Configuration
Post Reply