Bug #17249: phpinfo() no longer works under SSL
| From: | dave at dsb3 dot com | Date: | Wed, 15 May 2002 13:50:26 +0000 |
| Subject: | Bug #17249: phpinfo() no longer works under SSL | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-7755@lists.php.net to get a copy of this message | ||
From: dave@dsb3.com
Operating system: Solaris 8
PHP version: 4.2.1
PHP Bug Type: Scripting Engine problem
Bug description: phpinfo() no longer works under SSL
Just installed php 4.2.1 (over previous 4.2.0 installation). Did not make
any changes to the apache conf or php.ini config (my php.ini is identical
to php.ini-recommended except for expose_php = Off, though I've confirmed
this happens with both Off and On).
If I try to view .php pages under SSL, they all work except for a specific
file containing only:
--- begin file ---
<? phpinfo(); ?>
--- end file ---
If, however, the phpinfo() call is within a larger script it works fine.
For example, these both work:
--- begin file ---
<?php phpinfo(); ?>
--- end file ---
--- begin file ---
<?
phpinfo();
?>
--- end file ---
The error I receive is a browser popup: the URL (etc) has MIME type
application/x-httpd-php. Saving the file shows that it contains the php
source.
This problem does not occur within the same set of files under a non-SSL
enabled apache virtual host.
--
Edit bug report at http://bugs.php.net/?id=17249&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17249&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17249&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17249&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17249&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17249&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17249&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17249&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17249&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17249&r=globals