Richard Quadling wrote:
Hi.
I'm looking to test 5.3, but I stumble at the first hurdle as the ini
file is not being read.
Windows XP Pro SP3 and Windows Server 2005/2008.
2008-12-12 15:45:36 D:\Personal
Files\Downloads\Software\Programming\PHP\Latest
Snapshots\php-5.3-win32-VC6-x86-latest >php -v
PHP 5.3.0alpha4-dev (cli) (built: Dec 12 2008 15:05:22)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2008 Zend Technologies
2008-12-12 15:45:38 D:\Personal
Files\Downloads\Software\Programming\PHP\Latest
Snapshots\php-5.3-win32-VC6-x86-latest >php --ini
Configuration File (php.ini) Path: C:\WINDOWS
Loaded Configuration File: C:\PHP\PHP5\INI\php-cli.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed: (none)
2008-12-12 15:46:11 D:\Personal
Files\Downloads\Software\Programming\PHP\Latest
Snapshots\php-5.3-win32-VC6-x86-latest >type
C:\php\php5\ini\php-cli.ini | find "error_reporting"
error_reporting = E_ALL | E_STRICT
2008-12-12 15:46:25 D:\Personal
Files\Downloads\Software\Programming\PHP\Latest
Snapshots\php-5.3-win32-VC6-x86-latest >php -i | find
"error_reporting"
error_reporting => no value => no value
Same results for ...
PHP 5.3.0alpha3 (cli) (built: Dec 4 2008 20:40:51)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2008 Zend Technologies
I even created a separate INI file ...
[PHP]
error_reporting = E_ALL | E_STRICT
and then ...
2008-12-12 15:50:49 D:\Personal
Files\Downloads\Software\Programming\PHP\Latest
Snapshots\php-5.3.0alpha3-Win32-VC6-x86 >php -c
C:\php\php5\INI\error_reporting.ini -i | find "error_reporting"
Loaded Configuration File => C:\PHP\PHP5\INI\error_reporting.ini
error_reporting => no value => no value
Absolutely no reading of the error_reporting values. I'm assuming that
the ini file reading is completely broken on windows.
This is pretty bad.
Richard
This is also related to http://bugs.php.net/bug.php?id=44625 and
http://bugs.php.net/bug.php?id=46201, which I posted.
Jessie
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php