php3-list | 200003
Date: 03/24/00
- Next message: Paul Meagher: "[PHP3] Building XML parsers with regular expressions"
- Previous message: Christopher Ditty: "[PHP3] Converting filesizes"
- Maybe in reply to: vboy: "[PHP3] Setting PHP directives by Apache conf file?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, sorry i have missed the rest of the conversation but I assume you are
using PHP3, in which case the line in your .htaccess should be:
php3_magic_quotes_gpc Off
the line you have looks more like it should be for PHP4, but this being a
PHP3 list....?
-----Original Message-----
From: Mark Roedel [mailto:roedelm <email protected>]
Sent: 24 March 2000 14:28
To: vboy
Cc: PHP Mailing List
Subject: RE: [PHP3] Setting PHP directives by Apache conf file?
> -----Original Message-----
> From: vboy [mailto:vboy <email protected>]
> Sent: Thursday, March 23, 2000 9:24 PM
> To: Jason Cox
> Cc: PHP Mailing List
> Subject: Re: [PHP3] Setting PHP directives by Apache conf file?
>
>
> It doesn't seem to work for me. This is what I have done:
> 1) Create a file ".htaccess" containing the following line in directory
> /path/to/my/docroot:
>
> php_flag magic_quotes_gpc off
>
> 2) Restart the httpd server <-- is this necessary? I tried it on my
> linux box only because I can't restart
> the httpd server on virtual server
>
> Took a look on a page with phpinfo(), magic_quotes_gpc is still ON.
>
> Why? Or did I miss something? Do I have to do something in those
> apache conf files? Do I have to specify the location of .htaccess in
> those conf files? Can .htaccess be an one line file or should there
> be something more in it?
My first thought is that you might want to check the AllowOverride settings
in your Apache config files for the virtual server in question. These allow
the server admin to specify what portions of the server configuration can be
altered via the .htaccess file. Valid settings are "All", "None", or any
combination of "Options", "FileInfo", "AuthConfig" and "Limit". I expect
restricting "Options" overrides would also restrict the ability to override
PHP settings.
Something to try, at least...
--- Mark Roedel | "Blessed is he who has learned to laugh Systems Programmer | at himself, for he shall never cease LeTourneau University | to be entertained." Longview, Texas, USA | -- John Powell-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Paul Meagher: "[PHP3] Building XML parsers with regular expressions"
- Previous message: Christopher Ditty: "[PHP3] Converting filesizes"
- Maybe in reply to: vboy: "[PHP3] Setting PHP directives by Apache conf file?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

