ID: 37887
User updated by: petrkuzel at eurofins dot com
Reported By: petrkuzel at eurofins dot com
Status: Open
Bug Type: *Configuration Issues
Operating System: Windows
PHP Version: 5.1.4
New Comment:
I tried to set HKEY_LOCAL_MACHINE/SOFTWARE/PHP/IniFilePath in registry,
but it's also ignored (based on missing the header mark and phpinfo()
output). Still empty result. It's after IIS restart (from IIS console).
Previous Comments:
------------------------------------------------------------------------
[2006-06-22 13:20:16] petrkuzel at eurofins dot com
Description:
------------
I want to use mssql extension but I'm not able to make PHP use my
php.ini file that contains declaration.
5.1.4 is manually installed on Windows with IIS 5.1.
Reproduce code:
---------------
<?php
echo "INI = " . get_cfg_var("cfg_file_path") . "<br>";
echo "Prepend = " . ini_get("auto_prepend_file") . "<br>";
phpinfo();
?>
Expected result:
----------------
Instead of expected:
INI = c:\app\php\
Prepent = c:\app\php\marker.txt
Actual result:
--------------
Returns:
INI =
Prepend =
<the info tables> reporting ini path as "c:\windows" (I put there one
with 'auto_prepend_file marker' but it's not picked up), extension_dir
as "c:\php5", consequently no extensions discovered....
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37887&edit=1