View Full Version : .php3 extension not displaying?
Hi, I recently loaded up phpmychat which has page extensions of .php3. When I enter those in my browser they are not showing up. Anybody have any ideas for me?
Thank you for reading
You don't have php3 registered as an application type. Find the AddType line in your httpd.conf file for php and add php3 to it.
Here is what I have already, I did not change anything. This is also the only place I can find any reference to what you are specifying.
<IfModule mod_php4.c>
AddType application/x-httpd-php .inc .php .php4 .php3 .phtml
AddType application/x-httpd-php-source .phps
</IfModule>
<IfModule mod_php3.c>
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps
</IfModule>
<IfModule mod_php.c>
AddType application/x-httpd-php .phtml
</IfModule>
AddHandler cgi-script .cgi .pl
AddType text/html .shtml
AddHandler server-parsed .shtml
#AddHandler send-as-is asis
AddHandler imap-file map
#AddHandler type-map var
</IfModule>
What do you think?
Thank you agin
That does look good, it should server php3 files, assuming you are using php-4.x or php-3.x. If you are using php-5.x then those blocks of settings won't be executed.
Im using php4.*.
Would there be anything within the php.ini file that might be relevant?
Thank you
-Tom M.
lol, funnies thing...
Turns out that I was using a computer that was hooked to a different webserver with my dns name on it, and i was doing this php3 on a totally different webserver with my dns name on it which actually had that directory and files on it. So anyhow, thanks again for the help, I really appreciate it.
-Tom M.
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.