Problem with installing Gallery2

Discussion in 'PHP' started by lamnk, Sep 5, 2007.

  1. lamnk

    lamnk New Member

    At the very beginning of the installation i got this following message:
    When i turn LSWS off and switch to apache there's no error at all

    So where is the problem here ? (I got a wordpress blog on the same domain and it runs ok )
  2. mistwang

    mistwang LiteSpeed Staff

    With LiteSpeed, you run php with suexec, while with Apache, php run as "nobody", so you have permission problem when access session files. You should remove those session files having problem with.
  3. lamnk

    lamnk New Member

    Hmm, i tried to remove the session files in /var/lib/php/session/ but the error still occurs
  4. mistwang

    mistwang LiteSpeed Staff

    close all your browser windows and reopen.
  5. lamnk

    lamnk New Member

    Still no luck though ...

    Guess i need to install the script with apache and then switch to LSWS and see if it works
  6. lamnk

    lamnk New Member

    Installation went fine with apache and the script runs smoothly, i can add, edit photos ... but switching to LSWS give me a total blank page :(
  7. mistwang

    mistwang LiteSpeed Staff

  8. lamnk

    lamnk New Member

    Doesn't change anything, i even turned Restrained off then restarted LS
  9. lamnk

    lamnk New Member

    Update: I installed LSWS on another dedicated box (last time it was on a vps). Gallery runs normally with the default shipped php package. When i compile & install php like your guide in wiki, i get the same message in the first post.

Share This Page