[PHP] Re: [PHP-INST] trouble getting .php3 files to work in php4.0.4pl1 (static)

2001-02-23 Thread Geordon VanTassle

As to the WHY, well, the file extensions are different.  It's like the
difference between a .DOC file and a .TXT file and a .RTF file.  They're all
different, and the parser/executable uses the extension to tell it what to
expect.

Also, after you make changes to your httpd.conf make sure that you STOP and
START the Apache daemon.  That way, the changes get read from the httpd.conf

HTH
Geordon

- Original Message -
From: "Hunter Kelly" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, February 23, 2001 8:46 AM
Subject: [PHP-INST] trouble getting .php3 files to work in php4.0.4pl1
(static)


 Hello, I am having trouble getting .php3 files to work in php4.0.4pl1.

 .php files work fine, but my browser wants to download the .php3 file.

 Here are the relevant lines from httpd.conf:

 AddType application/x-httpd-php .php .php3
 AddType application/x-httpd-php-source .phps

 I'm at a bit of a loss as to why a .php file would work, but a .php3 file
 does
 not.

 Please CC me on any replies, as I'm not subscribed to the lists.

 Thanks!

 Hunter

 --
 PHP Install Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: [PHP-INST] Re: [PHP] trouble getting .php3 files to work in php4.0.4pl1 (static)

2001-02-23 Thread Geordon VanTassle

Find the "DirectoryIndex" line and add "index.php3" to it in the httpd.conf

HTH,
Geordon

- Original Message -
From: "Hunter Kelly" [EMAIL PROTECTED]
To: "Hoover, Josh" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, February 23, 2001 9:22 AM
Subject: [PHP-INST] Re: [PHP] trouble getting .php3 files to work in
php4.0.4pl1 (static)


 Hmm okay that works, for most .php3 files, but for some reason,
 does not work with index.php3.  Very strange...

 H

 "Hoover, Josh" wrote:
 
  Try doing this in your httpd.conf (replacing what you have now):
 
  AddType application/x-httpd-php .php
  AddType application/x-httpd-php .php3
  AddType application/x-httpd-php-source .phps
 
  Josh Hoover
  KnowledgeStorm, Inc.
 
  Searching for a new IT solution for your company? Need to improve your
  product marketing?
  Visit KnowledgeStorm at www.knowledgestorm.com to learn how we can
  simplify the process for you.
  KnowledgeStorm - Your IT Search Starts Here
 
   Hello, I am having trouble getting .php3 files to work in php4.0.4pl1.
  
   .php files work fine, but my browser wants to download the .php3 file.
  
   Here are the relevant lines from httpd.conf:
  
   AddType application/x-httpd-php .php .php3
   AddType application/x-httpd-php-source .phps
  
   I'm at a bit of a loss as to why a .php file would work, but
   a .php3 file
   does
   not.

 --
 PHP Install Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]