-
Super Moderator
How to enable PHP on OS X
How do I enable PHP on Mac OS X? I tried a tutorial on Macromedia and it didn't work. When I tried to load the Personal Web Sharing it wouldn't push through. The tutorial asked to edit some lines of code from the httpd.conf file. I did this but wasn't successful. I copied the backup file and replaced the one that i edited and the apache server now starts again. What gives?
The macromedia tutorial can be found here
-
06-03-2004 08:38 PM # ADS
Google Adsense
-
Mac Fanatic
you might need an apache, try to download it, its free. however, i couldnt manage to set the globals to make it fully functional.
-
-
Mac Fanatic
how did you tried enabling your apache?
-
head over to www.serverlogistics.com
everything you need from apache to php and more
-
Clarifications: Apache is a web server, and it comes pre-installed on all OS X Macs. It is a standard component of OS X. No need to download another copy of Apache. Apache is the engine that drives OS X's Personal Web Sharing feature.
PHP is not pre-installed in either OS X or OS X Server. You must install and configure it yourself. The best resource for getting PHP and installing it on a Mac can be found on Mark Liyanage's web site.
Hope this helps!
-
Super Moderator
Originally posted by gonz
Clarifications: Apache is a web server, and it comes pre-installed on all OS X Macs. It is a standard component of OS X. No need to download another copy of Apache. Apache is the engine that drives OS X's Personal Web Sharing feature.
PHP is not pre-installed in either OS X or OS X Server. You must install and configure it yourself. The best resource for getting PHP and installing it on a Mac can be found on
Mark Liyanage's web site.
Hope this helps!
wow, i really thought before that OS X shipped with apache, php and mysql. I guess i thought wrong. Thanks for the link gonz. I'll try it out.
-
Mac Fanatic
This article really helped me setup PHP, MySQL and Apache to work together. It's a bit dated but still relevant I believe. Good luck!
-
Originally posted by chairman
wow, i really thought before that OS X shipped with apache, php and mysql. I guess i thought wrong. Thanks for the link gonz. I'll try it out.
Apache is included in OS X. MySQL (an older version) is pre-installed in OS X Server, but not plain vanilla OS X. PHP has to be user-installed on both OS X and OS X Server.
-
PHP is pre-installed on OS X. You just have to edit your httpd config file to enable it. It's basically just uncommenting a few lines in the file. I followed the instructions at http://www.macdevcenter.com/pub/a/mac/2003/04/22/apache_jaguar_pt3.html to enable mine.
Bookmarks