Welcome guest, is this your first visit? Click the "Create Account" button now to join.

Welcome to the Philippine Apple Users Group.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.


Page 1 of 3 123 LastLast
Results 1 to 10 of 24
  1. #1
    Super Moderator chairman's Avatar
    Join Date
    Apr 2004
    Location
    San Juan
    Age
    34
    Posts
    2,044

    Default 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

  2. # ADS
    Google Adsense

    Join Date
    Always
    Location
    Advertising world
    Age
    2010
    Posts
    Many




     

  3. #2
    Mac Fanatic right_stuff's Avatar
    Join Date
    Apr 2004
    Location
    Manila
    Age
    27
    Posts
    645

    Default

    you might need an apache, try to download it, its free. however, i couldnt manage to set the globals to make it fully functional.

  4. #3
    Super Moderator chairman's Avatar
    Join Date
    Apr 2004
    Location
    San Juan
    Age
    34
    Posts
    2,044

    Default

    i already have apache. it comes with os x. as far as i know, php should also come with os x but it's not enabled. I tried enabling it but to no avail....

  5. #4
    Mac Fanatic right_stuff's Avatar
    Join Date
    Apr 2004
    Location
    Manila
    Age
    27
    Posts
    645

    Default

    how did you tried enabling your apache?

  6. #5
    Mac Fanatic
    Join Date
    Apr 2004
    Location
    Philippines
    Age
    32
    Posts
    536

    Default

    head over to www.serverlogistics.com everything you need from apache to php and more

  7. #6
    gonz
    Guest

    Default

    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!

  8. #7
    Super Moderator chairman's Avatar
    Join Date
    Apr 2004
    Location
    San Juan
    Age
    34
    Posts
    2,044

    Default

    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.

  9. #8
    mgd
    mgd is offline
    Mac Fanatic mgd's Avatar
    Join Date
    Apr 2004
    Location
    in a white room
    Age
    37
    Posts
    917

    Default

    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!

  10. #9
    gonz
    Guest

    Default

    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.

  11. #10
    jino
    Guest

    Default

    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.

    •   
 

 
Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •