Install habari locally

9 views
Skip to first unread message

nathan

unread,
Mar 17, 2009, 2:44:22 PM3/17/09
to habari-users
Could anyone point me in the right direction so I can install habari
on my local machine?

mac 10.5.5

I would like to be able to test habari in an offline environment.

Chris Meller

unread,
Mar 17, 2009, 4:09:33 PM3/17/09
to habari...@googlegroups.com
As much as I hate to say it, you could probably find a lot of good guides by Googling for using WordPress on OS X...

Personally, I'd probably recommend going with MAMP, it's a nice single package and easy to get running. You can follow their instructions for installing it and then you just need to download Habari and install it just like you would on any host.

Chris J. Davis

unread,
Mar 17, 2009, 4:15:33 PM3/17/09
to habari...@googlegroups.com
I concur on MAMP. I have it set up on my machine now and it is great.

rick c

unread,
Mar 17, 2009, 5:00:03 PM3/17/09
to habari-users
fwiw, since i don't use Mac, the folks at netbeans.org are now
recommending using MAMP for local installs for PHP developments.

Rick

On Mar 17, 4:15 pm, "Chris J. Davis" <c...@chrisjdavis.org> wrote:
> I concur on MAMP. I have it set up on my machine now and it is great.
>
> On Mar 17, 2009, at 3:09 PM, Chris Meller wrote:
>
> > As much as I hate to say it, you could probably find a lot of good  
> > guides by Googling for using WordPress on OS X...
>
> > Personally, I'd probably recommend going with MAMP, it's a nice  
> > single package and easy to get running. You can follow their  
> > instructions for installing it and then you just need to download  
> > Habari and install it just like you would on any host.
>
> > On Tue, Mar 17, 2009 at 2:44 PM, nathan <mcknathann...@gmail.com>  

Caius Durling

unread,
Mar 17, 2009, 5:09:47 PM3/17/09
to habari...@googlegroups.com
On 17 Mar 2009, at 18:44, nathan wrote:

Could anyone point me in the right direction so I can install habari
on my local machine?

`sudo port install php5 +apache2 +mysql5`


PGP.sig

nathan

unread,
Mar 17, 2009, 6:05:18 PM3/17/09
to habari-users
Thanks i tried googling "install habari locally" but i got a bunch of
obscure results.

On Mar 17, 3:09 pm, Chris Meller <ch...@doesnthaveone.com> wrote:
> As much as I hate to say it, you could probably find a lot of good guides by
> Googling for using WordPress on OS X...
>
> Personally, I'd probably recommend going with MAMP, it's a nice single
> package and easy to get running. You can follow their instructions for
> installing it and then you just need to download Habari and install it just
> like you would on any host.
>

Stanley FONG

unread,
Mar 17, 2009, 9:23:11 PM3/17/09
to habari...@googlegroups.com
I have been running local Habari with XAMPP (beta) in Leopard without problem.
--
See me at http://am.notsowise.net

Colin

unread,
Mar 18, 2009, 6:27:53 AM3/18/09
to habari...@googlegroups.com
I'm using Apache/PHP as shipped with leopard for my local Habari install.

I'm not sure what hoops I needed to jump through to get it all
working, but I'll have a look in a mo and let you know.
--
Colin Seymour
Blog: http://www.colinseymour.co.uk
Tech Stuff: http://www.lildude.co.uk

Colin

unread,
Mar 18, 2009, 8:23:40 AM3/18/09
to habari...@googlegroups.com
Right, I've had a quick look and without getting into compiling PDO
drivers etc, you should find you can get Habari working using sqllite
as follows:

1. Enable PHP support by uncommenting the following line in
/private/etc/apache2/httpd.conf:

LoadModule php5_module libexec/apache2/libphp5.so

2. Restart Apache (System Preferences > Sharing and unselect and
select Web Sharing).

3. Install Habari as per the Habari instructions for sqllite.

By default Apache on OSX is configured to use
/Library/WebServer/Documents for the document root of the server and
the Sites directory for users, so you'll need to extract the Habari
source to one of these locations.

Each are accessible via http://localhost/ and
http://localhost/~username/ respectively.

This should hopefully get you heading in the right direction of a
basic functional install on your local system.

Things get more complicated when trying to use another DB type as PHP
on OSX only comes with the PDO driver for sqllite, so you need to
compile the PDO driver for the other DB types (It'll take a bit longer
to document this procedure).

The Habari requirements also detail GD (which isn't enabled on OSX
either), but my installation seems to be working fine without GD
support. Maybe someone else could provide more insight into why GD is
required.

HTH
Colin

Chris Meller

unread,
Mar 18, 2009, 9:41:30 AM3/18/09
to habari...@googlegroups.com
GD should only be required for the silos... It's listed as a requirement presumably because they ship with core and there's no mechanism for requiring things in a more granular way at this point.
Reply all
Reply to author
Forward
0 new messages