Home » Categories » Multiple Categories

What file extensions will run PHP?

By default, all files with the following extensions will run PHP:

  • .php
  • .php3
  • .php4
  • .php5

.php files will run under the current default PHP version, and .php3, .php4, and .php5 will run under the specified version of PHP (for example, .php3 files will run under PHP3).

You can also run PHP code in .html or .htm files by adding it as a handler in your .htaccess file.

1 (1)
Article Rating (1 Votes)
Rate this article
  • Icon PDFExport to PDF
Related Articles
Where is the dictionary directory?
Added on Mon, Mar 16, 2015
What is Java and what can it do?
Added on Fri, Mar 13, 2015
What is the server path?
Added on Mon, Mar 16, 2015
What Java support is in place on your servers?
Added on Mon, Mar 16, 2015
Can I use a caching system such as Memcached or APC?
Added on Mon, Mar 16, 2015