Quick question on .php3 files

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • KRL
    Entrepreneur
    • Oct 2002
    • 31429

    #1

    Quick question on .php3 files

    I have a program on a server with all the .php files using the extension .php3. When I try to load the page, instead of executing the php script Explorer is asking me if I want to save or open the file.

    Would that be a server configuration issue for the php settings or something funky not set right in Explorer?

    From what I could find its a server config issue.

    If you would like to develop your domains, you can lease inexpensive foreign labor
    from the leaders in the field at iWebmasters.com TO LOWER YOUR COSTS AND INCREASE YOUR PRODUCTION!

    *** *** *** *** *** *** *** *** *** *** *** ***
    Domains Adult News KRL's Newsletter Biz Tips Just Listed Domains
  • frankfortuna
    Confirmed User
    • Aug 2002
    • 1504

    #2
    If php is installed properly, it is probably just a small file type / extension directive issue in Apache's httpd.conf. I'll dig it up for you in a sec.
    Last edited by frankfortuna; 02-25-2004, 06:49 PM.

    Comment

    • ztik
      Confirmed User
      • Aug 2001
      • 5196

      #3
      Im guessing your ruinning apache? You can open up your httpd.conf file in the apache root and search for ".php" it should say something about parsing content type, just copy the line and paste it below so there is a two of them. Rename the 2nd one to .php3. After that restart apache and you should be good

      that should fix it
      .

      Comment

      • frankfortuna
        Confirmed User
        • Aug 2002
        • 1504

        #4
        Make sure this string in httpd.conf contains .php3

        AddType application/x-httpd-php .php .php3 .php .phtml .inc .cfg
        AddType application/x-httpd-php-source .phps

        Comment

        • ztik
          Confirmed User
          • Aug 2001
          • 5196

          #5
          Originally posted by frankfortuna
          Make sure this string in httpd.conf contains .php3

          AddType application/x-httpd-php .php .php3 .php .phtml .inc .cfg
          AddType application/x-httpd-php-source .phps
          yeah. thats it
          .

          Comment

          • frankfortuna
            Confirmed User
            • Aug 2002
            • 1504

            #6
            Originally posted by frankfortuna
            Make sure this string in httpd.conf contains .php3

            AddType application/x-httpd-php .php .php3 .php .phtml .inc .cfg
            AddType application/x-httpd-php-source .phps
            Ignore the duplicate .php reference in the following hahahahahahahaha

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

            Should read:

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

            Keep in mind your config may vary, so you could possibly have more AddType application/x-httpd-php extensions listed.

            Comment

            • RainMailer
              Confirmed User
              • Feb 2003
              • 826

              #7
              KRL make sure you make a backup copy of your httpd.conf file and once your done editing make sure you restart apache. Let me know if you need some help with this.
              harbinc at gmail dot com

              Comment

              • hoe_vender
                Confirmed User
                • Dec 2003
                • 2018

                #8
                dont know what that is
                ICQ #286508534

                Comment

                • KRL
                  Entrepreneur
                  • Oct 2002
                  • 31429

                  #9
                  Thanks guys for the fast response. I figured it had to be something not set right on the server config files.


                  If you would like to develop your domains, you can lease inexpensive foreign labor
                  from the leaders in the field at iWebmasters.com TO LOWER YOUR COSTS AND INCREASE YOUR PRODUCTION!

                  *** *** *** *** *** *** *** *** *** *** *** ***
                  Domains Adult News KRL's Newsletter Biz Tips Just Listed Domains

                  Comment

                  • frankfortuna
                    Confirmed User
                    • Aug 2002
                    • 1504

                    #10
                    Originally posted by KRL
                    Thanks guys for the fast response. I figured it had to be something not set right on the server config files.


                    No problem. As Ztik mentioned, we are assuming Apache here. If not, the info I just provided is not applicable.

                    Comment

                    • juicylinks
                      So Fucking Banned
                      • Apr 2001
                      • 122992

                      #11
                      zend optimizer plus mod rewrite make me hard

                      Comment

                      • http
                        Confirmed User
                        • Oct 2001
                        • 1811

                        #12
                        .php3 is sooooo 90's



                        Comment

                        • Ash@phpFX
                          Confirmed User
                          • Nov 2003
                          • 4292

                          #13
                          i tihnk the current standard is that all php files use the .php extention, i could be wrong though

                          Comment

                          Working...