LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > all Php are run with apache

Reply
 
Thread Tools Display Modes
  #1  
Old 02-05-2012, 05:59 AM
mehrdadabed mehrdadabed is offline
Member
 
Join Date: Jan 2011
Posts: 15
Default all PHPs are run by user "apache"

Hi,

LSWS has been install over Directadmin,
the problem is that, all the PHPs are run by user "apache" instead of the corresponding user owner,
is there any adjustment to correct this issue ?

Thanks,

Last edited by mehrdadabed; 02-05-2012 at 06:18 AM..
Reply With Quote
  #2  
Old 02-05-2012, 12:50 PM
mehrdadabed mehrdadabed is offline
Member
 
Join Date: Jan 2011
Posts: 15
please note that "PHP suEXEC" is set to "User's Home Directory Only", but it seems that suEXEC is not working
Reply With Quote
  #3  
Old 02-05-2012, 07:09 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,295
to confirm if suExec or not, please run following php code under a vhost docroot:
PHP Code:
<?php
$pid
=getmypid();
echo 
"getmypid()=" $pid ."<br>";
echo 
"<hr><pre>";
system("ps -fp " $pid);
echo 
"</pre><hr>";
?>
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:00 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.