From:             [EMAIL PROTECTED]
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

Reply via email to