difference between php and php3

Posted on 2004-11-12
Last Modified: 2013-12-13
hi experts ..
what is the difference between php and php3 files ?
when i run php3 on my web server by typing http://localhost/web1/index.php3 a message appears asks me to download the file !!!
i have :
windows 2000 professional OS
Apache /1.3.23 web server
MySQL 3.23.47-nt  DB
phpMyAdmin 2.2.3

Any idea ??????????????
Question by:anasalama
    1 Comment
    LVL 27

    Accepted Solution

    no difference essentially.

    php3 was for files written for php version 3 but that extension is now deprecated.

    so you can either rename the extension to .php or configure your server to parse .php3 extensions*

    *open up httpd.conf in notepad (located in the apache program files in the conf folder) and find the line:
    AddType application/x-httpd-php .php

    You can either modify that line so it reads:
    AddType application/x-httpd-php .php .php3

    or add another line after it reading:
    AddType application/x-httpd-php .php3

    Save the file then restart your Apache Web server (Start - Programs - Apache HTTP Server - Control - Restart)

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Suggested Solutions

    A colleague recently asked me about how to give his client a small part of the web site that could be completely under the client's control.  Since I have done this sort of thing before to add emergency banners to a web site, I decided I would creat…
    Part of the Global Positioning System A geocode ( is the major subset of a GPS coordinate (, the other parts being the altitude and t…
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    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.

    728 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

    15 Experts available now in Live!

    Get 1:1 Help Now