Solved

php3 with Apache 2.2

Posted on 2006-06-15
1
583 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
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
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.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

772 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