|  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
Have you experienced this issue?
Rate the importance of this bug to you:

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

1. Install PHP 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



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-11-22 22:14 UTC]
-Status: Open +Status: Feedback
 [2010-11-22 22:14 UTC]
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 for *NIX and 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 Jun 16 22:01:30 2024 UTC