php.net |  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: php at bouchery dot com
New email:
PHP Version: OS:

 

 [2003-10-02 08:35 UTC] php at bouchery dot com
Description:
------------
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-02 10:15 UTC] sniper@php.net
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] sniper@php.net
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: Sun Mar 29 13:01:26 2020 UTC