Thanks,
The manual doesn't really make it clear though, all it says is:
This sets the value of the specified variable.

php_flag name on|off

And then it later it says:

engine boolean

This directive is really only useful in the Apache module version of PHP. It
is used by sites that would like to turn PHP parsing on and off on a
per-directory or per-virtual server basis. By putting engine off in the
appropriate places in the httpd.conf file, PHP can be enabled or disabled.



Kind of misleading that last part.

----- Original Message -----
From: "Steve Edberg" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>; "php" <[EMAIL PROTECTED]>
Sent: Tuesday, September 04, 2001 11:52 AM
Subject: Re: [PHP] Engine Question


> PHP4's configuration syntax has changed; see
>
> http://www.php.net/manual/en/configuration.php
>
> Try using the line
>
> php_flag engine on
>
>
> -steve
>
>
> At 11:35 AM -0700 9/4/01, PHP List wrote:
> >Hi,
> >I am trying to update my server to php4. Everything seemd to compile
fine.
> >httpd -l shows mod_php4.c in the list.
> >
> >I used to use these entries in my httpd.conf to specifically turn
> >php on in certain dirs instead of default on for everyting.
> >
> ><Directory "/dir/dir/dir">
> >php3_engine on
> ></Directory>
> >
> >But I cannot find a combo that works now, I allways get an error.
> >How do I do this with php4?
>
> --
> +------------------------ Open source questions? ------------------------+
> | Steve Edberg                           University of California, Davis |
> | [EMAIL PROTECTED]                               Computer Consultant |
> | http://aesric.ucdavis.edu/                  http://pgfsun.ucdavis.edu/ |
> +----------- http://pgfsun.ucdavis.edu/open-source-tools.html -----------+
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to