super-globals corruption

php.internals

Sascha Schumann

23 years ago
Are there any known corruption issues with the super globals in the current PHP 4.3 CVS? While deploying an application on Solaris/Sparc today, $_SERVER["HTTP_HOST"] sometimes contained - the right value - nothing - $_SERVER["PATH"] After that, I just hardwired the right value. I'm in the process of replicating this on Solaris/x86, but the bug might be arch-dependent; so any additional info is appreciated. - Sascha

Rasmus Lerdorf

23 years ago
On Tue, 13 May 2003, Sascha Schumann wrote:
> Are there any known corruption issues with the super globals > in the current PHP 4.3 CVS? > > While deploying an application on Solaris/Sparc today, > $_SERVER["HTTP_HOST"] sometimes contained > > - the right value > - nothing > - $_SERVER["PATH"] > > After that, I just hardwired the right value. I'm in the > process of replicating this on Solaris/x86, but the bug might > be arch-dependent; so any additional info is appreciated.
I haven't seen it on Linux/fbsd. -Rasmus

J Smith

23 years ago
Sascha Schumann wrote:
> Are there any known corruption issues with the super globals > in the current PHP 4.3 CVS? > > While deploying an application on Solaris/Sparc today, > $_SERVER["HTTP_HOST"] sometimes contained > > - the right value > - nothing > - $_SERVER["PATH"] > > After that, I just hardwired the right value. I'm in the > process of replicating this on Solaris/x86, but the bug might > be arch-dependent; so any additional info is appreciated. > > - Sascha
I haven't seen that on Solaris/SPARC yet. I'm assuming this is on Apache? J

Sascha Schumann

23 years ago
> I haven't seen that on Solaris/SPARC yet. I'm assuming this is on Apache?
Nope; are you using the current PHP_4_3 CVS in production? I have another Solaris 2.6 site running with thttpd since mid-Feb on the PHP_4 branch and never saw these problems there. Thus, if it isn't a fault in Solaris 2.8 or the build toolchain, it must be a bug in the PHP_4_3 CVS. - Sascha

J Smith

23 years ago
Sascha Schumann wrote:
>> I haven't seen that on Solaris/SPARC yet. I'm assuming this is on Apache? > > Nope; are you using the current PHP_4_3 CVS in production? > > I have another Solaris 2.6 site running with thttpd since > mid-Feb on the PHP_4 branch and never saw these problems > there. Thus, if it isn't a fault in Solaris 2.8 or the build > toolchain, it must be a bug in the PHP_4_3 CVS. > > - Sascha
We don't run Solaris at all in production, as our Solaris box is somewhat dated and insanely slow. It's strictly for testing, mostly so we can say our stuff runs on more than just linux, as we'd like to try and remain as cross-platform as we can across unices. If you need testing, I can test on iplanet (ick), apache and cli/cgi, and if need be, I could probably set up thttpd. J