Wrong directory in website

Discussion in 'Installation/Configuration' started by ciat89, Feb 25, 2016.

  1. ciat89

    ciat89 New Member

    i'm using ispconfig in Ubuntu 14.04 with apache and php-fpm. In this server i don't use mail, dns or the mysql support integrated in ispconfig.
    In one of my website i sometimes have errors like this:
    PHP Warning: realpath(): open_basedir restriction in effect. File (PATH_TO_FILE)
    It's a joomla website, the problem is that the filename is that the PATH_TO_FILE is related to a different website's folder on the same server.
    The problem disappear on server reboot. I searched the whole site and database for wrong file reference, but i can't fing anything.
    Does it is possible that the php process assign the wrong folder in some way?

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Try to disable php opcache in PHP and then restart php-fpm and apache. There were some reports about this opcache bug here in the forum recently and there is a pending bug report in the tracker at php.net. Other caches like xcache dont suffer from that issue.
  3. ciat89

    ciat89 New Member

    Ok, thanks for the reply.
    Lets see if this works
  4. ciat89

    ciat89 New Member

    Thanks, the solutions seems to have worked!

Share This Page