ISPConfig broke again! PHP include paths

Discussion in 'General' started by mike_p, Apr 8, 2010.

  1. mike_p

    mike_p Member

    As in my previous post ( I have once again managed to break ISPConfig such that it cannot find various files.

    It occurs on any tab and comes up with (eg, on the sites tab)
    "Warning: listform::require_once(list/web_domain.list.php) [function.listform-require-once]: failed to open stream: No such file or directory in /usr/local/ispconfig/interface/lib/classes/ on line 51"
    followed by a matching fatal error.

    I've now discovered that the problems occur when I specify an include_path in /etc/php.ini

    To prevent the problem, it is neccessary to have "." in the path list.

    For example I originally set
    include_path = "/home/extras/inc"
    ISPConfig did not work.
    However if I set
    include_path = ".:/home/extras/inc"
    ISPConfig works again!

Share This Page