php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29233 no longer able to set allow_url_fopen using php_value
Submitted: 2004-07-17 23:34 UTC Modified: 2004-07-18 18:47 UTC
From: php at arwin dot net Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 4.3.8 OS: Linux kernel 2.4
Private report: No CVE-ID: None
 [2004-07-17 23:34 UTC] php at arwin dot net
Description:
------------
allow_url_fopen is listed as being configurable only in PHP_INI_SYSTEM

In previous versions we were able to configure on a PERDIR basis, inside .htaccess files.  Several production sites had problems upon upgrading from php 4.3.4 to 4.3.8.

Was this a mistake or intentially changed to PHP_INI_SYSTEM?

Will other options be locked down in this way? Was there advance warning and I missed it?

Thanks

Reproduce code:
---------------
.htaccess file with following line:

php_value allow_url_fopen 1

or

php_value allow_url_fopen On

Expected result:
----------------
php option allow_url_fopen would be enabled.

Actual result:
--------------
allow_url_fopen remains disabled, which is the setting in the global php.ini.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-18 18:47 UTC] iliaa@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Use php_admin_value 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 06:01:34 2024 UTC