Solved

php3 with Apache 2.2

Posted on 2006-06-15
1
586 Views
Last Modified: 2012-05-05
I have apache 2.2 come from Fedora Core 5, it works with file extension .php

Question : how do I make it work with extension .php3 without renaming all to .php
0
Comment
Question by:ChanYiuPong
[X]
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
1 Comment
 
LVL 10

Accepted Solution

by:
sleep_furiously earned 250 total points
ID: 16921477
It depends on whether you are running PHP as a CGI or a plug-in module.

Add the extra extension to a directive like one of the following:

AddHandler php-script .php .php3

AddType application/x-httpd-php .php .phtml .php3

If the pages really were written for PHP3, you will want to consider the migration issues:
http://www.php.net/manual/en/migration4.php
http://www.php.net/manual/en/migration5.php
0

Featured Post

Raise the IQ of Your IT Alerts

From IT major incidents to manufacturing line slowdowns, every business process generates insights that need to reach the people required to take action. You need a platform that integrates with your business tools to create fully enabled DevOps toolchains.

You need xMatters.

Question has a verified solution.

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

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

695 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