From:             
Operating system: Win XP Professoin SP3
PHP version:      5.2SVN-2010-11-14 (snap)
Package:          Scripting Engine problem
Bug Type:         Bug
Bug description:Assigning Modify persmission causes PHP to cause Invalid access 
to memory locat

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 bug report at http://bugs.php.net/bug.php?id=53307&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=53307&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=53307&r=trysnapshot53
Try a snapshot (trunk):              
http://bugs.php.net/fix.php?id=53307&r=trysnapshottrunk
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=53307&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=53307&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=53307&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=53307&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=53307&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=53307&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=53307&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=53307&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=53307&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=53307&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=53307&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=53307&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=53307&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=53307&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=53307&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=53307&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=53307&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=53307&r=mysqlcfg

Reply via email to