FYI.  How to set these values can be found at:

  http://php.net/configuration.changes

Read about which values *can* be set in .htaccess at:

  http://php.net/manual/en/function.ini-set.php

Here's the low-down for the syntax:

---

php_value name value
Sets the value of the specified directive. Can be used only with PHP_INI_ALL
and PHP_INI_PERDIR type directives. To clear a previously set value use none
as the value.

  Note: Don't use php_value to set boolean values. php_flag (see below)
should be used instead.

php_flag name on|off
Used to set a boolean configuration directive. Can be used only with
PHP_INI_ALL and PHP_INI_PERDIR type directives.

php_admin_value name value
Sets the value of the specified directive. This can not be used in .htaccess
files. Any directive type set with php_admin_value can not be overridden by
.htaccess or virtualhost directives. To clear a previously set value use
none as the value.

php_admin_flag name on|off

Used to set a boolean configuration directive. This can not be used in
.htaccess files. Any directive type set with php_admin_flag can not be
overridden by .htaccess or virtualhost directives.



----- Original Message ----- 
From: "Andrew Zbikowski" <andyzib at gmail.com>
To: "TCLUG Mailing List" <tclug-list at mn-linux.org>
Sent: Tuesday, 07 September, 2004 22:32
Subject: [TCLUG] Apache and PHP


> I'm running Geeklog on my personal website...a couple weeks ago I
> setup a bunch of RDF feeds. Looks like PHP got upgraded to 4.3.8 over
> the weekend (from whatever version of PHP was in Debian Woody), and
> the RDF feeds stopped working.
>
> To get them to work in the first place, I had the following in a .htaccess
file:
>
> php_flag allow_url_fopen On
>
> <?php phpinfo(); ?> tells me that allow_url_fopen if Off now. So my
> guess is that something changed that isn't allowing me to override
> that setting with a .htaccess file anymore. (I changed the global PHP
> config to enable allow_url_fopen, and things started working again.
> I'd rather leave the global as is with it disabled, and make .htaccess
> or something else to enable this option just for this directory.
>
> My apache entry for the site looks like:
>
> <VirtualHost server.fqdn:80>
>         ServerName andy.zibnet.us
>         DocumentRoot /project/web/zib/geeklog/public_html
> </VirtualHost>
>
> To try an get things working again I added:
> <Directory /project/web/zib/geeklog/public_html/>
> AllowOverride all
> </Directory>
>
> That wasn't the answer...so I'm stuck for the moment. I'm hoping
> someone who knows apache and php configuration better than I is out
> there. :)
>
> --
> Andrew S. Zbikowski | http://andy.zibnet.us
>  A password is like your underwear; Change it
>  frequently, don't share it with others, and
>      don't ask to borrow someone else's.
>
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> Help beta test TCLUG's potential new home: http://plone.mn-linux.org
> Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
> tclug-list at mn-linux.org
> https://mailman.real-time.com/mailman/listinfo/tclug-list
>


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list