cant solve the permmisions problem

Discussion in 'General OpenLiteSpeed Discussion' started by andreig, Apr 17, 2017.

  1. andreig

    andreig New Member

    Hi,

    I wanted to install wordpress on OLS and received a error that wp-config.php cant be created, witch means is a permissions problem somewhere, here are my settings.

    Server Configuration > External App running as nobody:nobody
    Server Configuration > Script Handler > Handler Type > LiteSpeed SAPI
    Server Configuration > Script Handler > Handler Name> lsphp5

    Virtual Host Name domain.com
    Virtual Host Root $SERVER_ROOT/$VH_NAME/
    Config File $SERVER_ROOT/conf/vhosts/$VH_NAME/vhconf.conf
    Note: Instantiated from template PHP_SuEXEC

    Virtual Host domain.com > Basic > ExtApp Set UID Mode Server UID
    Virtual Host domain.com > General > Document Root /home/user/html
    Virtual Host domain.com > External App running as user:user
    Virtual Host domain.com > Script Handler > Handler Type LiteSpeed SAPI
    Virtual Host domain.com > Script Handler > Handler Name [Server Level]: lsphp5


    /home/user/html and all files in the folder are owned by user:user

    What i'm doing wrong ?

    thanks.
     
  2. lsfoo

    lsfoo Administrator

    Hi @andreig

    How are you trying to create a wp-config.php file? Is it through PHP, FTP, or directly (like with vi)?

    Cheers,
    Kevin
     
  3. lskagan

    lskagan New Member

    Hi @andreig

    Looking at your configuration you have ExtApp set to use Server UID, this would require the files to be owned at minimum user:nobody. If you switch it to use DocRoot UID it will then be able to be run as user:user.

    Cheers,
    Jon
     

Share This Page