|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25728 access violation with php.ini's previous PHP version
Submitted: 2003-10-02 08:35 UTC Modified: 2003-10-06 07:35 UTC
From: php at bouchery dot com Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 5.0.0b1 (beta1) OS: Windows
Private report: No CVE-ID: None
 [2003-10-02 08:35 UTC] php at bouchery dot com
If you execute php (command, apache CGI or apache module), an exception occured.

I've remove php.ini's previous PHP version from my windows directory and now it's work fine.

Expected result:
PHP excution ;-)

Actual result:
Exception : access violation (0xc0000005), Address : 0x100ae216


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-02 10:15 UTC]
From what PHP version was the ini from?
What is the diff between the php.ini-dist from the PHP 5 package against the one you had?

 [2003-10-03 07:37 UTC] php at bouchery dot com
I'm using PHP 4.3.2RC2.

I tried this "php -c c:/winnt/", and it's work (with the previous version of php.ini).
If I put a "php.ini" (from php4 or php5) in the same directory of php5, it's work.

That's mean php can't load my php.ini in the %windows% directory ?!
 [2003-10-03 18:54 UTC]
First of all: PHP looks first in the current working directory 
for the php.ini, THEN the other places.

Second, you propably have extension directory with extensions
for different PHP version which get loaded by the 'other' php.ini file. This will of course not work.

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Apr 08 03:01:24 2020 UTC