Weird behavior in ispconfig client website.

Discussion in 'Installation/Configuration' started by Chris_UK, Feb 25, 2022.

Tags:
  1. Chris_UK

    Chris_UK Active Member HowtoForge Supporter

    I have just created a website. call it demo.site.com

    PHP:
    <?php
    ini_set
    ('display_errors'1);
    require_once (
    'inc/head.php');
    ?>
    It uses php and appears to be working, however as soon as I try to include or require a file I get errored out.
    PHP:
    Warning: include(): Failed opening 'inc/head.php' for inclusion (include_path='.:/usr/share/php:/var/www/clients/client2/web30/web/inc'in /var/www/clients/client2/web30/web/index.php on line 4
    I have added the path to the folder to include it in the include paths on the ispconfig websites options tab.
    SETTINGS::
    PHP:
    php settingphp-fpm
    php directive
    include_path='.:/usr/share/php:/var/www/clients/client2/web30/web/inc'
     
    Last edited: Feb 25, 2022
  2. Chris_UK

    Chris_UK Active Member HowtoForge Supporter

    Closed, iAmNoob Strikes again, comma instead of a period in the file names.... ARGE// new spectacles me thinks....
     
    ahrasis and Th0m like this.

Share This Page