php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53307 Assigning Modify persmission causes PHP to cause Invalid access to memory locat
Submitted: 2010-11-14 04:55 UTC Modified: 2013-02-18 00:34 UTC
From: zubair dot lohar at gmail dot com Assigned:
Status: No Feedback Package: Scripting Engine problem
PHP Version: 5.2SVN-2010-11-14 (snap) OS: Win XP Professoin SP3
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: zubair dot lohar at gmail dot com
New email:
PHP Version: OS:

 

 [2010-11-14 04:55 UTC] zubair dot lohar at gmail dot com
Description:
------------
Step to produce error

1. Install PHP 5.2.1.1 in c:\PHP
2. Add environment variable Path c:\php and PHPRC c:\php
3. Install IIS and configure as per documentation.
4. Configure IIS and as documented
5. Assign Internet Guest Account (IUSR) user read & execute permissions to c:\php
6. Create folder c:\php\log
7. Create file php-error.log in "log" folder
8. Modify php ini set log_error = 0 and error_log = "c:\php\log\errors.log"
9. Assign permission Modify permission to IUSR user on c:\php\log folder
10. Restart IIS
11. create folder c:\website.
12. Create virtual directory named "test" under default website and point it to c:\website.
13. Create a file with extention .php and put some lines in it

access your website using http://localhost/test 

You will see the php will generate Invalid access to memory location error

1. Remove modify permission for IUSR and leave write permission
2. make some syntax error in php file created in step 13.
3. execute the script the error will log successfully

I hope this bug will be fixed

thanks


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-11-22 22:14 UTC] kalle@php.net
-Status: Open +Status: Feedback
 [2010-11-22 22:14 UTC] kalle@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.


 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC