?
Solved

php3 with Apache 2.2

Posted on 2006-06-15
1
Medium Priority
?
587 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 1000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

752 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