ID: 13962 Updated by: [EMAIL PROTECTED] Reported By: wburnett at cyberenv dot net Status: Bogus Bug Type: iPlanet related Operating System: Solaris 8 PHP Version: 4.0.6 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php This behavior is exspected, because iPlanet is a multithreaded webserver. You cannot use the environment to get CGI variables. Use $_SERVER['HTTP_HOST'] etc.! $_ENV['HTTP_HOST']/getenv('HTTP_HOST') will get the environment of the webserver process. That's correct. If you want to use register_globals on try setting the correct variable order to get the server variables first! Previous Comments: ------------------------------------------------------------------------ [2003-09-02 08:42:22] [EMAIL PROTECTED] These variables are set to whatever iPlanet tells they are. ------------------------------------------------------------------------ [2003-09-01 23:26:02] sorry at nospam dot org i have a similar problem w/ sun one iplanet 6 sp5 the http_host variable has the iplanet's admin port strung to it. i think this is one reason phpmyadmin isn't working for me... i'm on solaris 9 ad using php 4.3.3 w/ phpmyadmin 2.5.2 pl1 ------------------------------------------------------------------------ [2002-10-16 01:00:08] php-bugs at lists dot php dot net No feedback was provided for this bug for over 2 weeks, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-09-30 20:47:04] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2001-11-06 17:16:06] wburnett at cyberenv dot net After installing PHP on two different Solaris boxes. I have found a problem I just can't find a resolve to. One box is iPlanet Enterprise 4.1 Other is is iPlanet Enterprise 6.0 Some of the PHP scripts I'm using use the web servers environment variables. Because the iPlanet web server also uses an ADMIN port for configuration. The environment variables are reporting the admin port instead of the normal http port 80 where the working web server resides. If I use a <?phpinfo()?> script. I get the following results reported. HTTP_HOST box1.myhost.com:8808 HTTP_REFERER http://box1.myhost.com:8808/https-box1.myhost.com/bin/commit SERVER_PORT 8808 SERVER_URL http://box1.myhost.com:8808 etc... The port reported is my admin port not the web server port of 80. Everything else seems to function perfectly I have been researching this problem for two weeks now and still haven't come any closer to the fix. Could anyone please clue me in! Thanks ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=13962&edit=1