Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

PHP Parse .htm Extensions?

Posted on 2002-07-22
2
235 Views
Last Modified: 2006-11-17
I am redoing my site that has all .htm extensions. I want to use some php scripting but am concerned that if I direct php to parse .htm files on my Apache server, it might cause problems. Has anyone tried this with success or know of any downside?
Thanks much!
Emory
0
Comment
Question by:emory7
2 Comments
 
LVL 1

Accepted Solution

by:
thetool721 earned 50 total points
ID: 7170290
Use the PHP file extension instead of setting Apache to parse htm and html files.

By telling Apache to parse these files, your webserver will attempt to parse EVERY file it serves with that extension.  This is going to cause some major performance problems on the server.
0
 

Author Comment

by:emory7
ID: 7170316
Thanks very much! That's what I needed to know!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question