Installation showing raw script

Discussion in 'Installation/Configuration' started by Nathan Veysey, May 7, 2020.

  1. Nathan Veysey

    Nathan Veysey New Member

    I've been running a development server for a while now, but am wanting to run ISPconfig to make management a little easier.
    I've installed it, but have run into a few issues with the FastCGI module - which I've currently disabled from the vHosts file.
    After a few tweaks the host now loads a script from the admin panel, but the script isn't being run through the PHP handler. Script source showing is var/www/ispconfig/index.php

    Should I workout how to get FastCGI working, or is there another way to do this. (I don't need Fastcgi other than for ISPConfig)
    #<IfModule mod_fcgid.c>
    # DocumentRoot /var/www/ispconfig/
    # SuexecUserGroup ispconfig ispconfig
    # <Directory /var/www/ispconfig/>
    # Options -Indexes +FollowSymLinks +MultiViews +ExecCGI
    # AllowOverride AuthConfig Indexes Limit Options FileInfo
    # <FilesMatch "\.php$">
    # SetHandler fcgid-script
    # </FilesMatch>
    # FCGIWrapper /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter .php
    # Require all granted
    # </Directory>
    # IPCCommTimeout 7200
    # MaxRequestLen 15728640
  2. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    all those settings are fine. it's exactly what I've got on a fully working system. so I would suggest you uncomment all of those.
    If it's just showing the script text when you load the page then it's not aware it's php, or doesn't have a php handler configured.

    I don't know what OS you're using or how you installed everything, but I would recommend you go through the relevant perfect server tutorial (again?) as the problem is most likely that you accidentally missed a step or had a typo somewhere.
    till likes this.
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    As @nhybgtvfr pointed out, the config you commented out is perfectly fine, so undo what you changed in that file, and then take care you followed the installation instructions from perfect server guide to the letter and that you started with the installation from a fresh and empty system.

Share This Page