Edit report at http://bugs.php.net/bug.php?id=53307&edit=1

 ID:                 53307
 Updated by:         ka...@php.net
 Reported by:        zubair dot lohar at gmail dot com
 Summary:            Assigning Modify persmission causes PHP to cause
                     Invalid access to memory locat
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Scripting Engine problem
 Operating System:   Win XP Professoin SP3
 PHP Version:        5.2SVN-2010-11-14 (snap)
 Block user comment: N
 Private report:     N

 New Comment:

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.




Previous Comments:
------------------------------------------------------------------------
[2010-11-14 04:55:43] 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



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=53307&edit=1

Reply via email to