php open_basedir incorrect?

Discussion in 'Installation/Configuration' started by nhybgtvfr, Jun 14, 2018.

  1. nhybgtvfr

    nhybgtvfr Member

    Hi,

    i'm wondering if there's maybe a mistake/hardcoded value in the open_basedir settings, or if the settings need changing when switching php versions.
    on my live multiserver setup, for every server config, the php open_basedir contains this: /usr/share/php5:/usr/share/php
    which is no surprise. the default php when installing them was php5.6

    I've installed some test servers (new multiserver setup) , using ubuntu 18.04 and php 7.2, no other php version installed. but the server config php open_basedir settings still contain the reference to /usr/share/php5

    also, on servers running 5.6 as default, but with php 7.2 installed as an additional php. if I change a website from using the default php, to the additional php version, shouldn't the php open_basedir setting for that site be changed to include the path for php7.2?

    this is all with ispconfig 3.1.12
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    No, as ISPConfig does not know that path. The open_basedir default path for a website is et by the admin under system > server config and the admin should include all paths there that shall be in the opne_basedir on that server.
     

Share This Page