Solved

php3 with Apache 2.2

Posted on 2006-06-15
1
581 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
Comment Utility
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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
If-Modified-since need enabled on Centos 6 server 6 135
ProxyPass - Problem 5 104
PHP Error Settings 12 76
htaccess restrict subdomain 4 68
In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

763 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now