SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist Fleeters's Avatar
    Join Date
    Jul 2003
    0 Post(s)
    0 Thread(s)

    Setting up PHP on MAC OSX using kevin yanks book

    So i am setting up PHP off of kevin yanks book on an MAC OS 10.6 jaguar, i have a Couple questions:

    1) i was instructed to download a file ( from a place he mentioned. Then rename it to it wasnt already named that). I went to the site where he said to DL it from bu they gave me dmg file that has a pkg installer. He then says to move that file you just DL(after extracting) into the apache configuration directory throught the terminal. Well since i didnt have the .so file to move i just installed the pkg and moved on. The next instructions were to run the apache configuration program to install or upgrade the new module with these commands:
    cd /exec/httpd
    sudo apxs -e -a -n php4 libexec/httpd/

    Then i had to add a line telling apache which file extensions to treat as PHP scripts to the http.conf:

    echo 'echo "Addtype application/x-httpd-php .php .php3" /etc/httpd/httpd.conf'
    >> |sudo sh -s'

    I did all that.

    Then kevin said to restart apache by typing this:
    sudo apachect1 graceful

    That didnt work....(restarting apache)...

    My php files dont seem to work, im wondering if its the way i installed it(with that pkg file instead of the .so file). Im wondering if it matters where the PHP file was installed to, its in system/library/

    if you need more specifics please ask
    Last edited by Fleeters; Aug 12, 2003 at 14:52.
    Aaron Smith

  2. #2
    SitePoint Zealot
    Join Date
    Jun 2003
    Middle / East TN
    0 Post(s)
    0 Thread(s)

    I haven't done this, but they seem to know what they're doing.
    There are 10 kinds of people in this world,
    those who can read binary and those who can't.


Posting Permissions

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