troyd1 Posted February 26, 2013 Share Posted February 26, 2013 I inherited an xp machine with xitami/pro server running on it and installed php 5.2.17 as cgi because I thought I might need the VC6 version. PHP works and the php info shows as it should. When I do www.domain.com/test.php?x=y&z=testthe $_GET is not being populated. The $_REQUEST variable is not being populated either. If I post it in a form and post it, the $_POST is empty as is the $_REQUEST. if I loop through the $_SERVERvariables and display them on a get, the QUERY_STRING is populated with the get variables. When i do a print_r on any of the variables, it is empty. I get: Array ( ) 1 I then upgraded to PHP 5.4 and the same thing. What is the problem? I am at a loss and don't know what else to try. Quote Link to comment Share on other sites More sharing options...
Jessica Posted February 26, 2013 Share Posted February 26, 2013 Show us the code you used? You're saying if you go to test.php?x=y&z=test and do print_r($_GET); You get an empty array? What was the output of the phpinfo? Quote Link to comment Share on other sites More sharing options...
troyd1 Posted February 26, 2013 Author Share Posted February 26, 2013 I think the issue is that it was installed as cgi and I was using php.exe instead of php-cgi.exe. I changed it to that in the filter, but now I am getting access denied. I tried changing all the permissions on the PHP directory to full control, but that did not help. Any idea on how to figure out what is causing this? Quote Link to comment Share on other sites More sharing options...
Jessica Posted February 26, 2013 Share Posted February 26, 2013 I'm going to move this to installation and configuration, sorry I can't help more. Quote Link to comment Share on other sites More sharing options...
troyd1 Posted February 26, 2013 Author Share Posted February 26, 2013 Any suggestions? Quote Link to comment Share on other sites More sharing options...
AyKay47 Posted February 27, 2013 Share Posted February 27, 2013 Before tampering with anything else, please post the results of a phpinfo() call. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.