PHP does not see environmental variables pertaining to Shib but Perl does

Peter Schober peter.schober at univie.ac.at
Thu May 31 22:03:44 BST 2012


* Peter Schober <peter.schober at univie.ac.at> [2012-05-31 22:57]:
> * Hough, Kenneth P <kenneth.phough at WPI.EDU> [2012-05-31 20:00]:
> > I am having trouble with PHP5 trying to access env variables
> > pertaining to Shib.  I've search the web extensively to find an
> > answer but nothing that pertains to our problem.
> 
> There's no information here to help you diagnose this.
> Is the PHP file in a directory which either requires a shib session or
> sees one once it's available? You know this how?

Try completely closing the browser (or delete all HTTP Cookies for the
host in question or start another browser implementation) and accesss
the PHP script. Are you redirected to your IdP and back (might want to
watch with Firefox's Live HTTP Headers extension enabled)? If not check
https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPWontProtect
-peter


More information about the users mailing list