Problem with installing Gallery2

#1
At the very beginning of the installation i got this following message:
Warning: session_start() [function.session-start]: open(/var/lib/php/session/sess_k7s27sjs03qlncd01afrnjihj3, O_RDWR) failed: Permission denied (13) in /var/www/vhosts/xxx.com/httpdocs/anh/lib/support/GallerySetupUtilities.class on line 348

Warning: session_start() [function.session-start]: open(/var/lib/php/session/sess_68de0f7e758d46746fff15589e81d6d7, O_RDWR) failed: Permission denied (13) in /var/www/vhosts/xxx.com/httpdocs/anh/lib/support/GallerySetupUtilities.class on line 75
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 )
 

mistwang

LiteSpeed Staff
#2
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.
 
#6
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 :(
 
#9
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.
 
Top