From: vishal at trpn dot com Operating system: Fedora 2 PHP version: 4.3.11 PHP Bug Type: *Web Server problem Bug description: Can't prase PHP on html page anymore
Description: ------------ I had it working on previous websites, however for some reason it is not working anymore :( I have tried both lines in .htaccess file but with no success. AddHandler application/x-httpd-php .html AddType application/x-httpd-php .html Any help. I really need to use php on .html page. P.S. I am using PHP Version 4.3.11. Reproduce code: --------------- <!doctype html public "-//W3C//DTD HTML 4.0 //EN"> <html> <head> <title>Test Page for PHP on .html page</title> </head> <body> The time is <?php echo date('H:i:s');?> and the date is <?php echo date('j F Y');?> </body> </html> Expected result: ---------------- Expected php codes to work properly only .html pages. Actual result: -------------- 500 Internal Server Error -- Edit bug report at http://bugs.php.net/?id=33265&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33265&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33265&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33265&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33265&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33265&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33265&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33265&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33265&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33265&r=support Expected behavior: http://bugs.php.net/fix.php?id=33265&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33265&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33265&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33265&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33265&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33265&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33265&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33265&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33265&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33265&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33265&r=mysqlcfg