From: andy at thegartsidegroup dot com Operating system: Windows 2000 PHP version: 4.3.1 PHP Bug Type: IIS related Bug description: PHP fails to pass variables randomly
PHP 4.3.0 was working fine on W2kSP3 and IIS5 with latest security rollup and with MySQL 3.23.50. It is a CGI installation. Then I added a new user and changed some file permissions. These changes were very careful and I made sure that IUSR_mymachine had read and execute permissions to all required directories, as per the install.txt readme. My IIS 5 web-development environment went crazy. Sometimes it worked, sometimes it didn't. <? phpinfo(); ?> works fine as a test file. Sometimes I get a 404 message for files I know are there, other times I get a complete failure to retrieve variables from the database (but not the error message that I wrote if the DB connect failed) These files worked perfectly just a few days ago. It no longer seems to support sessions either. I spent days and days scouring the php sites, looking for a solution - nothing. I am quite an expert at php and IIS 5 configuration settings by now, so I have checked them repeatedly. Eventually, I gave up. I repartitioned my hard-drive and re-installed Windows 2000 SP3. This time, I added all the users I needed and set the permissions before installing anything. I re-installed IIS and the rollup package. I re-installed MySQL and tested it extensively. I went and got the latest (4.3.1) php installer.exe and re-installed windows. SAME PROBLEM!!! I reset all the permissions on all directories, sub-directories and files on my entire machine to "full-control everyone" NO SUCCESS! Random failures, mostly to do with variables disappearing in forms or in queries to the databases. I am desperate now. I NEED to do work, not chase this anymore. I'll see how this goes today USA time, then I'll have to try rebuilding AGAIN with no extra users and default file permissions. This is obviously not a very good solution. Thanks, Andrew Gartside (Canberra Australia) -- Edit bug report at http://bugs.php.net/?id=22265&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22265&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22265&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22265&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22265&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22265&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22265&r=support Expected behavior: http://bugs.php.net/fix.php?id=22265&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22265&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22265&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22265&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22265&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22265&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22265&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22265&r=gnused