php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32642 execution of php.exe causes Error in Application
Submitted: 2005-04-09 13:25 UTC Modified: 2005-04-10 12:46 UTC
From: dandracom at yahoo dot de Assigned:
Status: Not a bug Package: CGI/CLI related
PHP Version: 4.3.11 OS: windows 2000 SP4
Private report: No CVE-ID: None
 [2005-04-09 13:25 UTC] dandracom at yahoo dot de
Description:
------------
This happens since 4.3.11 and in the latest Snapshot php4-STABLE-200504091039.

A simple calling the php.exe causes the Error:
command in "0x0126b0c6" points to the memory in "0x00080145". The event/action "read" can't executed on the memory.

(I translated the error message - I'm using a german Win2k)

The only call I got an output was:
C:\>php -version
Error in argument 1, char 4: option not found r
Usage: php [-q] [-h] [-s] [-v] [-i] [-f <file>]

       php <file> [args...]
  -a               Run interactively
  -C               Do not chdir to the script's directory
  -c <path>|<file> Look for php.ini file in this directory
  -n               No php.ini file will be used
  -d foo[=bar]     Define INI entry foo with value 'bar'
  -e               Generate extended information for debugger/profiler
  -f <file>        Parse <file>.  Implies `-q'
  -h               This help
  -i               PHP information
  -l               Syntax check only (lint)
  -m               Show compiled in modules
  -q               Quiet-mode.  Suppress HTTP Header output.
  -s               Display colour syntax highlighted source.
  -v               Version number
  -w               Display source with stripped comments and whitespace.
  -z <file>        Load Zend extension <file>.

Reproduce code:
---------------
Yes. Allways the same. Moving back the hole system to 4.3.10 is a workaround.

Expected result:
----------------
shoul work ;)

Actual result:
--------------
using the workaround. :\

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-04-10 12:26 UTC] sniper@php.net
Works fine for me under Windows XP. There's something wrong with your installation of PHP or in your system.

 [2005-04-10 12:46 UTC] dandracom at yahoo dot de
Guess what?
And why does my configuration work since all previous 4.x Versions? What has changed in 4.3.11 being the possible reason?
I'm 100 percent sure using the carried out package and those DLLs.
My guess is a buggy "php.exe". I think this because my webserver is working without using the execution file. It is running as module in latest Apache 2.0.53. Only calling the EXE causes this Error.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 16 09:01:33 2025 UTC