Bug #12191 Updated: Certificate Environment Variables missing with ISAPI

From: Date: Tue, 24 Jul 2001 10:32:18 +0000
Subject: Bug #12191 Updated: Certificate Environment Variables missing with ISAPI
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-60841@lists.php.net to get a copy of this message
ID: 12191 Updated by: jmoore Reported By: e9025902@stud2.tuwien.ac.at Old Status: Feedback Status: Assigned Bug Type: IIS related Operating System: Win2K PHP Version: 4.0.6 Assigned To: jmoore New Comment: User Feedback: ============== Hi James! > Can you send me a list of these variables names > and we can get this fixed. The variable names I am missing are: CERT_COOKIE CERT_FLAGS CERT_ISSUER CERT_KEYSIZE CERT_SECRETKEYSIZE CERT_SERIALNUMBER CERT_SERVER_ISSUER CERT_SERVER_SUBJECT CERT_SUBJECT I am attaching the output of the following script: <?php echo $CERT_SUBJECT . "<BR>"; echo $HTTP_ENV_VARS["CERT_SUBJECT"]; phpinfo(); ?> As you will see the CGI-version knows both variables, while the ISAPI-version knows neither! Another thing I noticed with PHP 4.0.2: I have to use $HTTP_ENV_VARS["CERT_SUBJECT"] with CGI and $HTTP_SERVER_VARS["CERT_SUBJECT"] with ISAPI. Many thanks for your efforts Christian <<phpinfo406cgi.html>> <<phpinfo406isapi.html>> =========================== Ill add these variables to the list as soon as I get 5 mins to think. - James Previous Comments: ------------------------------------------------------------------------ [2001-07-23 14:34:40] jmoore@php.net Can you send me a list of these variables names and we can get this fixed. Thanks, - James ------------------------------------------------------------------------ [2001-07-16 11:51:34] e9025902@stud2.tuwien.ac.at I am using the PHP 4.0.2 ISAPI-Modul with IIS 5.0 on Win2K which set the certificate environment variables (e.g. $HTTP_SEVER_VARS["CERT_SUBJECT"]) correctly. Now I want to switch to PHP 4.0.6 but the variables are missing in the ISAPI-Modul (phpinfo() shows them under ISAPI but NOT under Environment!) but in CGI they are here again. greetings Christian ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12191&edit=1

« previous php.dev (#60841) next »