# Any news/ideas on http://bugs.php.net/bug.php?id=46326

- Thread: https://externals.io/message/42225
- Original archive: https://news-web.php.net/php.internals/42225
- Started by Richard Quadling on 2008-12-12T15:53:37+00:00
- Messages: 6
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #42225 — Richard Quadling — 2008-12-12T15:53:37+00:00

URL: https://externals.io/message/42225#42225

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

-- 
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"

---

## #42226 — Pierre Joye — 2008-12-12T16:07:29+00:00

URL: https://externals.io/message/42225#42226 · In reply to: #42225

hi Richard,

Please post this case in the bug itselft, that's why comments are
availble, thanks :)

I'm working on the per dir ini things (user.ini or PATH=, HOST=) as
well as fixing some weird issues about which ini is read on windows.
This bug may be fixed as well once I'm done.

cheers,

On Fri, Dec 12, 2008 at 4:53 PM, Richard Quadling
<rquadling@googlemail.com> 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
>
> --
> -----
> Richard Quadling
> Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
> "Standing on the shoulders of some very clever giants!"
>
> --
> 
> 
>
>



-- 
Pierre

http://blog.thepimp.net | http://www.libgd.org

---

## #42228 — Jessie Hernandez — 2008-12-13T03:44:27+00:00

URL: https://externals.io/message/42225#42228 · In reply to: #42225

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

---

## #42281 — Richard Quadling — 2008-12-16T10:20:13+00:00

URL: https://externals.io/message/42225#42281 · In reply to: #42228

2008/12/13 Jessie Hernandez <jrhernandez05@gmail.com>:
> Richard Quadling wrote:
> > […]
>
> 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
>

Jessie. Hopefully my bug and test code will show the problem. I'm
using 5.2.8 with no problem. This is very much a 5.3.x problem. One
which is stopping me from doing any sort of testing of my code on
5.3.x. Putting it simply, 5.3.alpha on windows is broken enough to be
unusable.

I am also a ZCE.

-- 
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"

---

## #42282 — Pierre Joye — 2008-12-16T10:41:30+00:00

URL: https://externals.io/message/42225#42282 · In reply to: #42281

On Tue, Dec 16, 2008 at 11:20 AM, Richard Quadling
<rquadling@googlemail.com> wrote:

> Jessie. Hopefully my bug and test code will show the problem. I'm
> using 5.2.8 with no problem. This is very much a 5.3.x problem. One
> which is stopping me from doing any sort of testing of my code on
> 5.3.x. Putting it simply, 5.3.alpha on windows is broken enough to be
> unusable.


Excuse me? What are you referring to here? this ini bug or other issues?

Cheers,
-- 
Pierre

http://blog.thepimp.net | http://www.libgd.org

---

## #42283 — Richard Quadling — 2008-12-16T11:06:10+00:00

URL: https://externals.io/message/42225#42283 · In reply to: #42282

2008/12/16 Pierre Joye <pierre.php@gmail.com>:
> On Tue, Dec 16, 2008 at 11:20 AM, Richard Quadling
> <rquadling@googlemail.com> wrote:
>
> > […]
>
>
> Excuse me? What are you referring to here? this ini bug or other issues?
>
> Cheers,
> --
> Pierre
>
> http://blog.thepimp.net | http://www.libgd.org
>

The INI bug.

-- 
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"
