|  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.
Block user comment
Status: Assign to:
Bug Type:
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-06 01:00 UTC]
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]
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-2021 The PHP Group
All rights reserved.
Last updated: Sat Jan 23 11:01:26 2021 UTC