DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19362>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19362 .phtml files are not processed by libphp4 when addressing with http://localhost/somefile.phtml Summary: .phtml files are not processed by libphp4 when addressing with http://localhost/somefile.phtml Product: Apache httpd-2.0 Version: 2.0.45 Platform: PC OS/Version: Other Status: NEW Severity: Minor Priority: Other Component: Runtime Config AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] This is an obscure little bug: Initially, I add the following line to httpd.conf, as per instructions for libphp4: AddType application/x-httpd-php .php .phtml I create a test.php file that contains only the command: <? phpinfo(); ?> And it works--it displays the php module's configuration and status. Next, I copy the file to test.phtml, and now, very strangely, I get a textual display of "<? phpinfo(); ?>". At first, I thought apache wasn't reading the second extension, so I added some more extensions: .php3 .php4, and a couple that aren't normally used for php: .phtm .ptl. I copied my test.php to test.<all_those_extensions> and it worked for all of them, but still, not phtml. Finally, as some chance neuron made me do this: I addressed the file using my server's FQDN: www.sbronner.com/test.phtml, instead of localhost, as I had been. Now, miraculously, it shows up perfectly. -- Sebastian J. Bronner [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
