help.

right now our server is configured so it only understands .php3 as an extension. what i need to do is change the .htaccess so that it understands the extension .php as the same as .php3.

thanks!
charlie

    you need to make a change in the httpd.conf file < if u have one > or the .htaccess file; Add or modify the following entry.

    AddType application/x-httpd-php3 .php3 .php .phtml

    This way any file with .php3, .php, .phtml extension will be parsed by PHP.
    Notice that .php is also on the same line

    place the .htaccess file in the document root or the same directory that your test file is in.

    cheers,
    nilesh :-)

      10 months later

      HI
      where can i see some nice examples of some .htaccess files set up for PHP4..
      where they control magic_quotes and the php include path and other php overides..?
      thanks

      Ken

        Write a Reply...