On Thursday 05 December 2002 17:29, Franco Pozzer wrote:
>
> plaese write  step by step how to do to confugure apache.
>
> remeber this. I work in Win32 system and PHp worh as CGI.

I don't use PHP as CGI with Apache so I don't think I can help you here.

But ...

> I have created .htaccess like this:
>
> php_value
> auto_prepend_file="C:OPENFEDRA\Apache\htdocs\fedra\sv\cfg\systemvariables.p
>hp"

... I have a feeling that if you're using PHP/CGI then you cannot set PHP 
options using a .htaccess file ...

> But I have and error like this:
>
>  error.log: [Wed Dec 04 15:14:53 2002] [alert] [client 127.0.0.1]
> c:/openfedra/apache/htdocs/.htaccess: Invalid command 'php_value', perhaps
> mis-spelled or
> defined by a module not included in the server configuration

... which is why you get this error.

In any case, the correct way to specify php options in a .htaccess file is:

php_value auto_prepend_file "C:OPENFEDRA\Apache\xxx\xxx\xxx.php"

NB there should not be an '='.


-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
static buildup
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to