ID: 33858 Updated by: [EMAIL PROTECTED] Reported By: slimandslam at gmail dot com -Status: Open +Status: Bogus Bug Type: CGI related Operating System: FreeBSD 5.4 Stable PHP Version: 5.0.4 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2005-07-26 01:27:34] slimandslam at gmail dot com Description: ------------ When running PHP 5.04 as a CGI under Apache 2, PHP files included in Server-Side includes don't show their output. Note that the PHP files in SSI *are* executed, but the output is never shown. Running PHP 5.04 as an Apache module works as expected -- the output of the PHP files in a SSI is displayed. Reproduce code: --------------- To reproduce, make sure you are running PHP 5.04 as a CGI. Setup your Apache 2 web server to work with Server-Side Includes using the file extension ".shtml". The file we'll run is called "junk.shtml" : <html> <body> <!--#include virtual="./junk.php" --> </body> </html> In the same directory as junk.shtml, put the file "junk.php": <?php echo "FUN FUN FUN"; ?> Expected result: ---------------- FUN FUN FUN Actual result: -------------- [BLANK PAGE] ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33858&edit=1