Menu

php_flag and php_value didn't work

Help
Jan Siml
2002-12-04
2002-12-04
  • Jan Siml

    Jan Siml - 2002-12-04

    Hello!

    Tried to install JAWmail2.

    Placed the following inside the VirtualHost at httpd.conf:

        <Directory "/home/www/jawmail">
            php_flag magic_quotes_gpc Off
            php_value include_path '.:../../:/usr/local/lib/php'
        </Directory>

    But it doesn't work. Test.php still shows:

    Magic quotes - GPC: Enabled
    include_path - Missing ../../ in .:/usr/local/lib/php!

    But why? Could anyone help me, please?

    Jan

     
    • Jan Siml

      Jan Siml - 2002-12-04

      It works now. I'm wondering why... Anyway.

      I get now the following failure if i try to access domain.org/jawmail/:

      Warning: Failed opening 'lib/auth/.php' for inclusion (include_path='.:../../:/usr/local/lib/php') in /usr/local/www/data-eris/jawmail/lib/registry.php on line 181

      What does this say to me?

       
      • Rudi Benkovic

        Rudi Benkovic - 2002-12-04

        Um, load domain.org/jawmail/install.php ... You have read the documentation, didn't you?

         
    • Jan Siml

      Jan Siml - 2002-12-04

      I've read the documentation. It works now. But i can't login.

      At test-imap.php login is possible, but not at jawmail himself. I use IMAp, but tested IMAP/notls. But still i can't login.

      IMAP DSN: {localhost:143/imap}INBOX.
      Trying to connect ...
      Connected ...
      Some infos about this mailbox:
      Date: Wed, 4 Dec 2002 14:43:37 +0100 (CET)
      Driver: imap
      Mailbox: {localhost.domain.de:143/imap/user="jan"}INBOX.
      Messages: 13
      Recent: 0
      Unread: 0
      Deleted: 0
      Size: 39761

      ... Closing the connection ...
      Done!

      At /var/log/maillog i can see, that the login was correct, but jawmail says no:

      Dec  4 14:55:19 eris imapd: Connection, ip=[::ffff:127.0.0.1]
      Dec  4 14:55:19 eris imapd: LOGIN, user=jan, ip=[::ffff:127.0.0.1]
      Dec  4 14:55:19 eris imapd: LOGOUT, user=jan, ip=[::ffff:127.0.0.1], headers=0,
      body=0

      I am using Apache2 with mod_php4 (PHP 4.2.3) and Courier-IMAP with sasldb. Works fine, but not with the installed jawmail.
      If i check the account from demo.jawmail.org it works correct. With the same browser i'm using at my own jawmail...

      Any advise?

       
      • Rudi Benkovic

        Rudi Benkovic - 2002-12-04

        Ditch Apache 2 in favor of Apache 1.3.x. Should work then.

         
    • Jan Siml

      Jan Siml - 2002-12-04

      But i don't want to use Apache 1.3.x.

      Nobody here who uses Apache2 with JAWmail?

       
      • Rudi Benkovic

        Rudi Benkovic - 2002-12-04

        Perhaps you should try using PHP from CVS - it might work okay.

        http://snaps.php.net/

         

Log in to post a comment.