XAMPP and Leopard

Discussion in 'Web Design and Development' started by bandelier, Oct 30, 2007.

  1. bandelier macrumors newbie

    Joined:
    Oct 30, 2007
    #1
    I recently upgraded to Leopard & had my virtual host environment go all squirrelly on me after loading... I used XAMPP to install apache/php/mysql/phpmyadmin, etc... - server starts up fine, php is working, and the sample tables XAMPP provides display just fine. One thing that's not working is phpmyadmin - when i navigate to the /localhost/phpmyadmin, I encounter an error:

    "cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly"

    php's running fine - sample pages pulling mysql table info are A-OK. It's only phpmyadmin which is giving me fits, and I use this exclusively to run my dynamic sites.

    Anyone else having these issues? Any ideas?
     
  2. bbarnhart macrumors 6502a

    bbarnhart

    Joined:
    Jan 16, 2002
    Location:
    Stilwell, Kansas
    #2
    You might check out this thread I started. I've not installed Leopard (or purchased). Something in there might help you.

    LINK
     
  3. bandelier thread starter macrumors newbie

    Joined:
    Oct 30, 2007
    #3
    Fixed this - by simply switching to php4 in the XAMPP console & restarting all.
     
  4. prakashc macrumors newbie

    Joined:
    Oct 31, 2007
    #4
    Same Problem

    "Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly."

    Yes, the problem goes away when switching to PHP 4 but it seems a shame to do without PHP 5.2. It's probably just a configuration issue - so a solution would be very useful.
     
  5. prakashc macrumors newbie

    Joined:
    Oct 31, 2007
    #5
    Solved

    Just as I thought - the problem is to do with the "session.save_path" directive.

    Open the file /xmapp/etc/php.ini

    and uncomment the line that reads

    ; session.save_path = /tmp

    to read

    session.save_path = /tmp

    Save the file. Restart xampp. All done.
     
  6. bandelier thread starter macrumors newbie

    Joined:
    Oct 30, 2007
    #6
    Thanks prakashc! Great solution - I uncommented that line, and can now at least get the phpmyadmin to load up w/PHP v5.2...However... I'm now experiencing a new issue - I can't import any db's or tables. get the following error:

    My settings are all good inside the php.ini file in terms of file upload size & max size, so FAQ 1.16 is not the solution to this specific issue. One thing I have noticed is an SSL error when shutting Apache down with the XAMPP console - wonder if it's related to this, and what the issue could possibly be? I've read that security is much tighter in the Leopard server configuration, but am lost again as to how to get this thing up & running...
     
  7. MDTyKe macrumors regular

    Joined:
    Jun 24, 2007
    Location:
    New York, NY
    #7
    Can I just say I use a tool called MAMP - seems to be specifically designed for macs. I tend to prefer it over XAMPP as it comes with a great UI tool for the settings of everything. Lacks a few features like FTP etc, but Ive never had a need for them.


    Matt
     

Share This Page