php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8569 php script does not run inside HTML
Submitted: 2001-01-06 00:57 UTC Modified: 2001-01-06 09:43 UTC
From: kjvsu at aol dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 3.0.13 OS: Apache
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: kjvsu at aol dot com
New email:
PHP Version: OS:

 

 [2001-01-06 00:57 UTC] kjvsu at aol dot com
I put php code inside a php file it works. But when I put php script inside html, it does not work.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-06 01:00 UTC] cynic@php.net
Have you made appropriate changes in Apache's httpd.conf to let it know it should pass html files to PHP to parse them?
 [2001-01-06 09:43 UTC] rasmus@php.net
You didn't define .html as a PHP type in your httpd.conf file.  Look for the "AddType application/x-httpd-php .php" and append .html to the line.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Jan 27 21:01:23 2020 UTC