![]() |
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 |
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.
|
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 :) |
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 |
Quote:
|
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. |
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.
|
dont know what that is
|
Thanks guys for the fast response. I figured it had to be something not set right on the server config files.
:thumbsup |
Quote:
|
zend optimizer plus mod rewrite make me hard
|
.php3 is sooooo 90's
:winkwink: |
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