Article:
  PHP 4.3 and Mac OS X
Subject:   error logs
Date:   2004-02-12 02:37:10
From:   jeanloui
Response to: "./configure --with" does not seems to work

I get this kind of errors in error_log:


[error] PHP Notice: Use of undefined constant
[error] PHP Notice: Undefined variable:
[error] PHP Notice: Use of undefined constant http_referer - assumed


And all this constants and variables are defined !
------
Also there are 3 strange new lines:


Processing config directory: /private/etc/httpd/users
Processing config file: /private/etc/httpd/users/prunila.conf
Processing config file: /private/etc/httpd/users/xavierbl.conf


* Why is Apache checking the users dirs?


I only want to use one ! httpd.conf at
private/etc/httpd/


... and the only good line:


[notice] Apache/1.3.29 (Darwin) PHP/4.3.4 mod_perl/1.26 configured -- resuming normal operations

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Adam Trachtenberg photo error logs
    2004-04-07 22:10:03  Adam Trachtenberg | O'Reilly Author [View]

    The "use of undefined constant" lines usually appear when you reference an array element inside double quotes.

    The Apache config lines are there to allow users to customize their personal home directories configuration without giving them access to the main httpd.conf file, which is owned by root. It's a feature, not a bug. I think you can disable this by editing out a few lines at the bottom of the master httpd.conf file, if it really bothers you.