Run PHP client side on Mac
Run PHP client side on Mac
Out of context: Reply #1
- Started
- Last post
- 6 Responses
- acescence0
are you saying you want to run PHP locally on your mac?
go to system prefs > sharing > turn on personal web sharing. that starts apache.
now, use terminal and find your /etc/httpd/httpd.conf file and uncomment the lines that load and add the PHP module. this will enable php4 (you'll need to restart apache for it to start working)
i would, however, suggest you go to http://www.entropy.ch/ and download his PHP5 package instead of using the pre-installed PHP4. make sure to turn 4 off first though, if you've enabled it.
now drop your site files in ~user/sites/ directory and you're off!