PostNuke Community

Support at your fingertips

installing on mac osx  Top

  • Hi there
    Ok, i'm not really too clued up on anything and even find using this forum a bit tricky, please can someone give me a detailed guide on how to install postnuke on mac osx using the build in apache server and PHP, or point me somewhere where i can find documentation on it...

    thanks
  • Mac's built in Apache does not have MySQL, so if you wish to use the built in Apache, you will need to add install MySQL.

    Here is entropy's discussion board for a source of info.

    Here is a great place to start getting what you need.

    Also consider MAMP (Google it).

    HTH.

    Peter

    --
    Peace
    ______________________________________
    The commonest cause of problems is solutions.
  • I have installed mysql.. i'm just not sure about how to install postnuke.
    I read the installtion guide, but could find any install.php on it. What do i do next?
  • Read the info in the docs directory.


    If you are installing on your local box, you:
    1. Make you database, writing down DB name, user name and pw
    2. Put a copy of the contents of 0.764 PN in a folder (directory) in: user/sites/nameofyoursite
    3. Follow the instructions in the docs/manual (has to do with permissions)
    4. Point your browser at user/sites/yoursite/install.php and follow the directions.

    There is really no difference between installing it locally on your computer and installing it on a server.

    Peter



    edited by: pheski, Feb 28, 2007 - 07:14 AM

    --
    Peace
    ______________________________________
    The commonest cause of problems is solutions.
  • Thanks for the help Peter...
    I'm still really confused though. What is the whole database thing for? Does it link up when you install postnuke? there is now file called install.php in that folder, only index and when i go there i get this error :

    ADONewConnection: Unable to load database driver ''
    Fatal error: Call to a member function on a non-object in /Users/thomaspaxton/Sites/includes/pnAPI.php on line 332

    There is nothing in the docs maual or any other manual for that matter explaining how to do this on a mac...

    Really appreciate the help.
  • correction... no file not "now"
  • Inside the 0.764 distribution you downloaded from Downloads => Stable releases there should be two directories: HTML and phoenix-SQL.


    Here is the downloads link.


    The contents of HTML are what you need either at root level or in a directory in user/sites/yoursite. This HTML directory should have both an install directory and a file called installdotphp. If not, then either you downloaded the wrong thing or it got broken in the download process.


    Assuming you have created a database, when you point your browser at user/sites/yoursite/install.php you will start the install process, during which you will give it the information about database name and user name and password so the PN scripts and code and communicate with the database.


    Just checking here - don't be offended. Do you know that your Apache server is on and that PHP is working? Have you tested by putting a file called "localphpinfo.php" and containing the following code and pointing your browser at it:

    Code

    <?php phpinfo() ?>



    Installing locally on a Windows or Mac box (with working Apache server, PHP and MySQL database) is no different from installing on a web server so there is no need to have separate instructions.


    Peter



    edited by: pheski, Mar 01, 2007 - 07:05 AM

    --
    Peace
    ______________________________________
    The commonest cause of problems is solutions.
  • Ok... it all turned out to be cos i downloaded the wrong file. Have the right one now. But my troubles aren't over yet...

    A while ago i installed mysql on my system, but i recently put mamp on which is really user friendly. I came unstuck when i tried to install postnuke cos of database problems so i changed a passwork with phpMyAdmin and now i can't get in anymore with mamp. Is there anyway i can delete mysql and go back to how everything was on my system so i can just go the mamp route from the start.

    Thanks again...

This list is based on the users active over the last 60 minutes.