[Snort-users] acid

Erik Melander Emelander at ...3910...
Thu Nov 29 08:45:03 EST 2001


If you compiled from source you probably copied the "php.ini-optimized" into
the /usr/lib/php directory instead of "php.ini-dist".  The
"php.ini-optimized" file disables "allow_call_time_pass_reference" which is
allowed for PHP v3 compatibility.  PHP v4 style to do this is by making the
function require the relevant argument by reference.  It's not possible to
decide to force a variable to be passed by reference when calling a
function.  (This information is included in the header for your php.ini
file)
To fix this either allow "allow_call_time_pass_reference" by setting equal
to "On" or simply copy "php.ini-dist" into the /usr/lib/php directory.  Good
luck!

Erik

> Date: Thu, 29 Nov 2001 09:18:21 -0500 (EST)
> From: Roman Danyliw <roman at ...438...>
> To: alexus <ml at ...1718...>
> cc: <snort-users at lists.sourceforge.net>
> Subject: Re: [Snort-users] acid
>
> What version of PHP are you using?
>
> Roman

On Wed, 28 Nov 2001, alexus wrote:

> um, i'm trying to install acid latest version and i'm geting this .. can
> someone help me?
>
> Warning: Call-time pass-by-reference has been deprecated - argument
passed
> by value; If you would like to pass it by reference, modify the
declaration
> of [runtime function name](). If you would like to enable call-time
> pass-by-reference, you can set allow_call_time_pass_reference to true in
> your INI file. However, future versions may not support this any longer.
in
> /usr/local/apache/htdocs/acid/acid_action.inc on line 437
>
> Warning: Call-time pass-by-reference has been deprecated - argument
passed
> by value; If you would like to pass it by reference, modify the
declaration
> of action_email_alert_post(). If you would like to enable call-time
> pass-by-reference, you can set allow_call_time_pass_reference to true in
> your INI file. However, future versions may not support this any longer.
in
> /usr/local/apache/htdocs/acid/acid_action.inc on line 665
>
> Warning: Call-time pass-by-reference has been deprecated - argument
passed
> by value; If you would like to pass it by reference, modify the
declaration
> of action_email_alert_post(). If you would like to enable call-time
> pass-by-reference, you can set allow_call_time_pass_reference to true in
> your INI file. However, future versions may not support this any longer.
in
> /usr/local/apache/htdocs/acid/acid_action.inc on line 665
>
> Warning: Cannot send session cookie - headers already sent by (output
> started at /usr/local/apache/htdocs/acid/acid_action.inc:437) in
> /usr/local/apache/htdocs/acid/acid_state_common.inc on line 92
>
> Warning: Cannot send session cache limiter - headers already sent
(output
> started at /usr/local/apache/htdocs/acid/acid_action.inc:437) in
> /usr/local/apache/htdocs/acid/acid_state_common.inc on line 92
>




More information about the Snort-users mailing list