|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Entrepreneur
Join Date: Oct 2002
Location: USA
Posts: 31,429
|
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. ![]()
__________________
from the leaders in the field at iWebmasters.com TO LOWER YOUR COSTS AND INCREASE YOUR PRODUCTION! *** *** *** *** *** *** *** *** *** *** *** *** |
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Aug 2002
Posts: 1,504
|
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.
|
|
|
|
|
|
#3 |
|
Confirmed User
Industry Role:
Join Date: Aug 2001
Location: Nomad
Posts: 5,196
|
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
__________________
. |
|
|
|
|
|
#4 |
|
Confirmed User
Join Date: Aug 2002
Posts: 1,504
|
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 |
|
|
|
|
|
#5 | |
|
Confirmed User
Industry Role:
Join Date: Aug 2001
Location: Nomad
Posts: 5,196
|
Quote:
__________________
. |
|
|
|
|
|
|
#6 | |
|
Confirmed User
Join Date: Aug 2002
Posts: 1,504
|
Quote:
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. |
|
|
|
|
|
|
#7 |
|
Confirmed User
Join Date: Feb 2003
Location: Portland
Posts: 826
|
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 |
|
|
|
|
|
#8 |
|
Confirmed User
Join Date: Dec 2003
Location: Lincoln, NE
Posts: 2,018
|
dont know what that is
__________________
ICQ #286508534 |
|
|
|
|
|
#9 |
|
Entrepreneur
Join Date: Oct 2002
Location: USA
Posts: 31,429
|
Thanks guys for the fast response. I figured it had to be something not set right on the server config files.
__________________
from the leaders in the field at iWebmasters.com TO LOWER YOUR COSTS AND INCREASE YOUR PRODUCTION! *** *** *** *** *** *** *** *** *** *** *** *** |
|
|
|
|
|
#10 | |
|
Confirmed User
Join Date: Aug 2002
Posts: 1,504
|
Quote:
|
|
|
|
|
|
|
#11 |
|
So Fucking Banned
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
|
zend optimizer plus mod rewrite make me hard
|
|
|
|
|
|
#12 |
|
Confirmed User
Join Date: Oct 2001
Posts: 1,811
|
.php3 is sooooo 90's
|
|
|
|
|
|
#13 |
|
Confirmed User
Join Date: Nov 2003
Posts: 4,292
|
i tihnk the current standard is that all php files use the .php extention, i could be wrong though
|
|
|
|