Unable to add to Custom php.ini settings

Discussion in 'General' started by onastvar, Jan 1, 2017.

  1. onastvar

    onastvar Member

    Unable to add php code to Sites > Subdomain (Vhost) > Custom php.ini settings,
    ISPConfig 3.1 does not SAVE the information I can only CANCEL and changes are not saved.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you get any error messages when you press save?
     
  3. onastvar

    onastvar Member

    No.
    What's strange if I add
    shortopen_tag=On (without underscore after short) i can save it
    short_open_tag=On (correct syntax) i cannot save it
     
  4. onastvar

    onastvar Member

  5. Jesse Norell

    Jesse Norell Well-Known Member

    have you been playing with modsecurity lately? that could explain it - eg. modsecurity was blocking your request because of the short_open_tag, then you reinstall, which disabled modsecurity in the ispconfig vhost, so it works again. If that's the case, there's a post at https://www.howtoforge.com/community/threads/mini-howto-modsecurity-crs-3-0-on-debian-jessie.74898/ where you can take up the issue, where you can (rather, should? :) post the modsec rule or log entry that you're hitting to be added as an exception. hopefully the work there will make it into the official modsecurity crs3 ruleset in the future.
     

Share This Page