Results 1 to 10 of 10

Thread: Installing Sugar under Mac OSX, with local machine set up as server

  1. #1
    ptfigg is offline Junior Member
    Join Date
    Jul 2006
    Posts
    2

    Default Installing Sugar under Mac OSX, with local machine set up as server

    I realize this topic has been discussed in various threads, however I am still stumped. I have a Mac running Apache, with php, mySQ,L and everything else required for Sugar to be installed.

    I use this configuration to test various web applications and work-flows, including Wordpress installs, proprieatary configuration etc.

    I'm stuck at the Sugar system check, specifically 'writable session save path invalid'. Various threads suggest code editing, specifically in the php.ini file. The only file I can find on my system that is similar is php_ini.h. There is no reference in the code to 'wriatable save path' , or anything even close.

    I tried making changes to the system check php file in the Sugar install folder as stated in another post, by adding # at the beginning of two specific lines.. This breaks Sugar, and it subsequentaly needs to be trashed and re-installed.

    Can this be that diffiicult to address and fix? Is there a savvy Mac person out there who can help me alleviate this issue in order to clear system check?

    Thanks Again.

    -ptfigg.
    Last edited by ptfigg; 2006-07-21 at 03:29 AM.

  2. #2
    rossasaurus is offline Junior Member
    Join Date
    Jul 2006
    Posts
    2

    Default Re: Installing Sugar under Mac OSX, with local machine set up as server

    Hi,
    Please be more specific:

    Versions of PhP, MySQL, OSX etc
    full Copy of error text

    I just did my first install and it's fresh in my mind
    cheers,
    Ross

  3. #3
    hmag is offline Sugar Community Member
    Join Date
    Jun 2005
    Posts
    18

    Default Re: Installing Sugar under Mac OSX, with local machine set up as server

    Hi again,
    Sounds to me like the php.ini file is not there. Assuming you have done a search for php.ini or similar files, ther eis generally one called something along the lines of php.ini.dist which will suffice. Copy it & change the name to php.ini, leaving it in the path it is. Restart your server & then rerun the install process, see how that goes for you.

  4. #4
    tlck9 is offline Sugar Community Member
    Join Date
    Aug 2006
    Posts
    18

    Default Re: Installing Sugar under Mac OSX, with local machine set up as server

    I have the same error on setup page 2, I'm using entropy php 5.1.4, mysql 5.1-1686 on MAC OS X 10.4.6

    I cannot find php.ini when doing a search

    any ideas as I would like to overcome this if possible!

    Thanks

  5. #5
    cywolf's Avatar
    cywolf is offline Sugar Community Member
    Join Date
    Oct 2005
    Location
    Toronto, Canada
    Posts
    223

    Default Re: Installing Sugar under Mac OSX, with local machine set up as server

    OS X ships with the file /etc/php.ini.default which you can just copy to /etc/php.ini before customizing the default settings. One thing I remember is that MySQL (at least the version I installed) was creating its socket file at /tmp/mysql.sock, so you'll probably need to either change where the socket file is created or set the PHP parameter 'mysql.default_socket' to that path. By default it looks for the file at /var/mysql/mysql.sock.

    By the way, install MySQL Administrator for a nice interface to customize its configuration settings and manipulate your databases.
    Andrew Whitehead
    The Long Reach Corporation
    http://infoathand.com

  6. #6
    seek is offline Member
    Join Date
    Aug 2006
    Posts
    5

    Default Re: Installing Sugar under Mac OSX, with local machine set up as server

    so you can log in after restart?
    did you use the package proviied on the sugarcrm.com page for mac?

  7. #7
    tlck9 is offline Sugar Community Member
    Join Date
    Aug 2006
    Posts
    18

    Default Re: Installing Sugar under Mac OSX, with local machine set up as server

    Quote Originally Posted by cywolf
    OS X ships with the file /etc/php.ini.default which you can just copy to /etc/php.ini before customizing the default settings. One thing I remember is that MySQL (at least the version I installed) was creating its socket file at /tmp/mysql.sock, so you'll probably need to either change where the socket file is created or set the PHP parameter 'mysql.default_socket' to that path. By default it looks for the file at /var/mysql/mysql.sock.

    By the way, install MySQL Administrator for a nice interface to customize its configuration settings and manipulate your databases.

    I must be doing something wrong, I cant find those files either, I'm new to mac so it could be I'm doing something i shouldnt to locate these files?

  8. #8
    cywolf's Avatar
    cywolf is offline Sugar Community Member
    Join Date
    Oct 2005
    Location
    Toronto, Canada
    Posts
    223

    Default Re: Installing Sugar under Mac OSX, with local machine set up as server

    The easiest way (without using the Terminal) is probably to install TextWrangler, run it and use Fie -> Open File By Name to edit php.ini.default. Then update the necessary settings and use Save As to create php.ini.

    You can also use the same method to configure Apache later. Its config file is at /etc/httpd/httpd.conf.
    Andrew Whitehead
    The Long Reach Corporation
    http://infoathand.com

  9. #9
    baydreamer is offline Sugar Community Member
    Join Date
    Aug 2006
    Posts
    15

    Default Re: Installing Sugar under Mac OSX, with local machine set up as server

    Thanks Cywolf, sorry for the delay - had to change my forum name as someone else was using it.

  10. #10
    sydneystephen is offline Junior Member
    Join Date
    Dec 2006
    Posts
    4

    Default Re: Installing Sugar under Mac OSX, with local machine set up as server

    The Mac OS X installer sets the default socket to:

    /Applications/sugarcrm-4.5.0f/mysql/tmp/mysql.sock

    At least it did in my installation.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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
  •