What are valid file extensions I can use for PHP scripts?

The valid file extensions for PHP scripts are listed below:

.php

These file extensions must be used in order for your PHP scripts to run properly.

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Do I have to have a header at the top of my PHP scripts?

No. Since we are not using PHP as a CGI binary, there is no reason to use the #!/usr/bin/php...

Can I use PHP in conjunction with MySQL?

Absolutely. Once of the big advantages of PHP is the ability to interface to databases,...

Where can I find more information on PHP and using it on my website?

PHP is quickly becoming a very popular scripting language. More information on PHP can be found...

Can I run PHP scripts anywhere on my virtual server?

Yes, PHP scripts do not have to reside in a particular directory and will run anywhere on your...