Variables in PHP open_basedir settings

Discussion in 'Installation/Configuration' started by M.Meintjes, Jun 26, 2018.

  1. M.Meintjes

    M.Meintjes New Member

    Hi there, for some time now I faced an issue with Composer and Craft CMS Updates. The Problem was Composer tries to write into

    Code:
    /var/www/clients/client[ID]/web[ID]/
    Because of the secure environment it fails with an open_basedir restriction. In order for Composer to work I need to add/create the folder ".composer" into the users "/home/web[ID]" directory.

    the full path would be:

    Code:
    /var/www/clients/client[ID]/web[ID]/home/web[ID]/.composer
    Are there any variables for "web[ID]" available to include in the PHP open_basedir settings?
    If so could someone point them out to me?

    Thanks for your help.
    M.Meintjes
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There is no placeholder for the ID in open_basedir.
     

Share This Page