[Resolved] suPHP errors

Status
Not open for further replies.

muiruri

Well-Known Member
#1
We have enabled suPHP on our cpanel server to enable some Wordpress plugins permissions to right to the server, as that particular cpanel account user and also to avoid having to use nobody as owner for the files and folders. This is because these plugins have lots of file actions.

For some reason, when we switch from Apache to LS, get error down below when using the plugin.

But when we switch back to Apache, error below disappears, therefore suPHP appears to be working fine.

When we switch to LS, is suPHP still active?

Or how do we maintain the same suPHP function when using LS ??

Currently on LS setup, we have script handler as Litespeed SAPI. Also believe by default LS is using suEXEC, but wondering why the error down below shows up.

What are we missing ??


Code:
Warning: file_put_contents(/home/cpanel-user/public_html/wp-content/vimeography/cache/vimeography-gallery-1.cache) [function.file-put-contents]: failed to open stream: Permission denied in /home/cpanel-user/public_html/wp-content/plugins/vimeography/lib/cache.php on line 103
 
Last edited by a moderator:

NiteWave

Administrator
#2
the way to enable suPHP in litespeed:

lsws admin console->Server->General->
PHP suEXEC:
PHP suEXEC Max Conn:

what's their value set on the server ?
 

muiruri

Well-Known Member
#3
Thanks! that did the trick... Was having;

PHP suEXEC: NO
PHP suEXEC Max Conn: 10

Then simply changed the 1st line to; YES

And appears to have resolved and no errors anymore.
 
Status
Not open for further replies.
Top