all Php are run with apache

Discussion in 'Install/Configuration' started by mehrdadabed, Feb 5, 2012.

  1. mehrdadabed

    mehrdadabed New Member

    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: Feb 5, 2012
  2. mehrdadabed

    mehrdadabed New Member

    please note that "PHP suEXEC" is set to "User's Home Directory Only", but it seems that suEXEC is not working
  3. NiteWave

    NiteWave Administrator

    to confirm if suExec or not, please run following php code under a vhost docroot:
    PHP:
    <?php
    $pid
    =getmypid();
    echo 
    "getmypid()=" $pid ."<br>";
    echo 
    "<hr><pre>";
    system("ps -fp " $pid);
    echo 
    "</pre><hr>";
    ?>

Share This Page