GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Quick question on .php3 files (https://gfy.com/showthread.php?t=242566)

KRL 02-25-2004 08:40 PM

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.

:helpme

frankfortuna 02-25-2004 08:42 PM

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.

ztik 02-25-2004 08:42 PM

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 :)

frankfortuna 02-25-2004 08:43 PM

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

ztik 02-25-2004 08:44 PM

Quote:

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 :)

frankfortuna 02-25-2004 08:46 PM

Quote:

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.

RainMailer 02-25-2004 08:47 PM

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.

hoe_vender 02-25-2004 08:48 PM

dont know what that is

KRL 02-25-2004 08:49 PM

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


:thumbsup

frankfortuna 02-25-2004 08:51 PM

Quote:

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.


:thumbsup

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

Juicy D. Links 02-25-2004 08:52 PM

zend optimizer plus mod rewrite make me hard

http 02-25-2004 08:54 PM

.php3 is sooooo 90's



:winkwink:

Ash@phpFX 02-25-2004 09:55 PM

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


All times are GMT -7. The time now is 03:42 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123