Menu

Mac OS 10.3.5 Installation Details

a caggiano
2004-09-30
2013-04-17
  • a caggiano

    a caggiano - 2004-09-30

    Mac OS is a little different, so I am including how I got pcg3 working on a G4 laptop. I think the MySQl and PHP are the stock installs for that version.

    OS 10.3.5
    MySQL  4.0.21 Standard
    php 4.3.2

    1) I installed
    phpMyAdmin 2.5.7-pl1
    in /Library/WebServer/Documents/phpmyadmin

    2)I made sure I could access and create databases with
    phpMyAdmin.

    3) I dowloaded pcg3 to desktop, navigator unstuffed it automatically so I had the folder on my desktop

    4) Opened terminal, logged in as root

    login -fp root

    The -fp prevents " unknow term type errors"

    5) cd /Library/WebServer/Documents
    ( Let's call this "<webdocs>")

    6) typed in "cp" then dragged th eimage of the pcg3 folder on the desktop to the terminal window. his automatically enters the path and filder name text onto the current terminal line, so you'll have :

    cp -r /Users/<your_user_name>/Desktop/<pcg-3.forget exactly> .

    Let's call  /Users/<your_user_name>/Desktop/<pcg-3.forget exactly>
    "<source_dir>"

    7) note the "-r" so subdirectories get copied, and, after the string describing the folder you want to copy, the space and then "." (single dot). This represents the target directory as the current one, or "PWD".

    8) I renamed this newly copied  folder to "pcg3" to make things simpler.

    9)phpMyAdmin will tell the php_include variable contains
    "/usr/lib/php" You need to put the genieconfiguration.inc.php file in there so php, and also pcg3,  can find its cfg info when it starts

    Now you need to copy :
    <source_dir>/app/settings/genieconfiguration.inc.php

    to

    .usr/lib/php

    10) Then edit the first part of the contents of the file from #9 to this:

    =================
      session_start();
       define("URL_ADDRESS","http://localhost/pcg3/web/");

       // Mac OS X
       define("SITE_PATH","/Library/WebServer/Documents/pcg3");   // no trailing
        //slashes

    11) then call the app  in Navigator ( what I used anyway) with:
    localhost/pcg3/index.php

    12) and you'll be rocking

    ===============

     
    • a caggiano

      a caggiano - 2004-09-30

      The second mention of /usr/lib/php omitted the necessary leading forward slash.

       
    • hlutz

      hlutz - 2004-10-29

      A very good description which helped me a lot. Thanks.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.