[imp] configuration help.

Brent J. Nordquist bjn@horde.org
Mon, 30 Oct 2000 15:59:30 -0600 (CST)


On Mon, 30 Oct 2000, Chris Crowley <ccrowley@tulane.edu> wrote:

> # Added for Horde
> <Directory /usr/local/apache_php/htdocs/horde>
> [...]
> php_include_path "./:/usr/local/apache_php/php"
> php_auto_prepend_file /usr/local/apache_php/php/prepend.php
> php_magic_quotes_gpc Off
> php_track_vars On
> </Directory>
> 
> But when I try to start the server, I get this error message:
> 
> Syntax error on line 347 of /usr/local/apache_php/conf/httpd.conf:
> Invalid command 'php_include_path', perhaps mis-spelled or defined by a
> module not included in the server configuration

PHP4 changed the syntax of these definitions; you want:

    php_value include_path '/home/httpd/horde-phplib:.'
    php_value auto_prepend_file /home/httpd/horde-phplib/prepend.php3
    php_flag magic_quotes_gpc Off
    php_flag track_vars On

(with the paths and names changed to match your situation, of course).

> php4.0.1p12  ---> Is this broken?

There are security problems, if nothing else; you probably want 4.0.3pl1.

-- 
Brent J. Nordquist <bjn@horde.org>
Yahoo!: Brent_Nordquist / AIM: BrentJNordquist / ICQ: 76158942