ID: 16111 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Documentation problem Operating System: Windows PHP Version: 4.2.1 New Comment:
Some of the problems on this page I have fixed by making sure register gloabal variables is turned on in php.ini. Also an easy fix to the Security alert is to make sure php.ini has security set to everyone. Be sure only to change security for that file, not for the winnt or windows dir. Also make sure cgi.force_redirect is set to 0, as everyone has said. Good luck. Previous Comments: ------------------------------------------------------------------------ [2003-01-20 01:16:36] [EMAIL PROTECTED] This is now documented: http://cvs.php.net/cvs.php/phpdoc/en/chapters/install.iis.xml Thanks for the report :) ------------------------------------------------------------------------ [2003-01-19 23:50:43] [EMAIL PROTECTED] This is still a documentation problem, document that people should check their php.ini is actually read by PHP. ------------------------------------------------------------------------ [2003-01-18 15:17:01] [EMAIL PROTECTED] This still looks like a problem to me, am marking as a PWS problem until resolved. Also it's important to know the correct php.ini is being edited as this seems to be the cause of many peoples problems. So before reporting information to this bug report, please be sure to state where phpinfo() says it is. If a PWS expert knows this is still a documentation problem, please reclassify with an explanation. ------------------------------------------------------------------------ [2003-01-16 20:56:50] [EMAIL PROTECTED] win 98SE, PWS, PHP4.3.0 installbinary. ME TOO! read everything I can find - no solution 1. PWS installed and working 2. run install shield for PHP4.3.0 normal install (also did manual install forcing PWS etc.) 3. build simple hello.php put in root of PWS directories 4. 'Execute' is checked for that folder 5. useing browser - link/get/select hello.php 6. get same BUG. error "Security Alert... (seems PHP is trying!) 7. Changed cgi.force_redirect = 0 in PHP.ini (in c:/windows) 8. bug changed. Now the hello.php script just shows up as html text i.e. the <?php ...?> is not executed. (seems PHP is not being accessed or pulled into the game) 9. because symptoms changed PHP IS reading the php.ini file - it is not in the wrong directory. so all fixes listed so far will not work. This is definitly a showstopper for many. I think that setting cgi.force_redirect = 0 is somehow resulting in the PWS not knowing where to look for the PHP.exe or something like that but what do I know. A documentation FIX that works would be nice. Also there seems to be different fixes for IIS and PWS and the docs are not clear which fix for which. ------------------------------------------------------------------------ [2002-12-07 06:53:50] [EMAIL PROTECTED] Hello shelley win2000 + iis + php I had the same problem with header("Location....) redirects. And I don't have a solution only have one ugly code to do the same... echo "<script language='javascript'> document.location.href=$url</script>"; I hope change this code on the future, when somebody will have a solution. DJF ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16111 -- Edit this bug report at http://bugs.php.net/?id=16111&edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php