Squirrel Mail config Apache won't start

Discussion in 'ISPConfig 3 Priority Support' started by dgeho1, Aug 23, 2013.

  1. dgeho1

    dgeho1 Member HowtoForge Supporter

    I am working my way thru "the perfect server, Ubuntu 12.04 LTS...page 6

    I am running Ubuntu 12.04 lts server v.52

    after editing the /etc/apache2/conf.d/squirrelmail.conf file apache won't start and gives the following

    "syntax error on line 10 of /etc/apache2/conf.d/squirrelmail.conf:
    php_value takes two arguments, PHP value modifier..."

    line 10 of the file is "php_value include_path."

    If I rem out the line apache will start... plz help



    Alias /squirrelmail /usr/share/squirrelmail

    <Directory /usr/share/squirrelmail>
    Options FollowSymLinks
    <IfModule mod_php5.c>
    AddType application/x-httpd-php .php
    php_flag magic_quotes_gpc Off
    php_flag track_vars On
    php_admin_flag allow_url_fopen Off
    # php_value include_path
    php_admin_value upload_tmp_dir /var/lib/squirrelmail/tmp
    php_admin_value open_basedir /usr/share/squirrelmail:/etc/squirrelmail:/var/lib/squirrelmail:/etc/hostname:/etc/mailname:/var/spool/squirrelmail
    php_flag register_globals off
    <IfModule mod_dir.c>
    DirectoryIndex index.php

    # access to configtest is limited by default to prevent information leak
    <Files configtest.php>
    order deny,allow
    deny from all
    allow from

    # users will prefer a simple URL like http://webmail.example.com
    # DocumentRoot /usr/share/squirrelmail
    # ServerName webmail.example.com

    # redirect to https when available (thanks [email protected])
    # Note: There are multiple ways to do this, and which one is suitable for
    # your site's configuration depends. Consult the apache documentation if
    # you're unsure, as this example might not work everywhere.
    #<IfModule mod_rewrite.c>
    # <IfModule mod_ssl.c>
    # <Location /squirrelmail>
    # RewriteEngine on
    # RewriteCond %{HTTPS} !^on$ [NC]
    # RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI} [L]
    # </Location>
    # </IfModule>
  2. till

    till Super Moderator Staff Member ISPConfig Developer


    the php_value include_path' line is missing the dot at the end of the line in your file. Here is the correct line:

    php_value include_path .
  3. dgeho1

    dgeho1 Member HowtoForge Supporter

    Such an easy fix.. it worked

    now that I see how the dot it placed it makes sense why it works, and why it didn't



Share This Page