tommca478
02-03-2006, 11:40 PM
I recently put phpmychat on my server and linked my browser to the index.php3 path to go through with the install and it is only visible in text. If I rename it to .php isntead of .php3 it will show up as a visable page with pictures and the usual.
I do have php version 5.0.4-10 installed.
Would you guys know why this php3 extension would not be executing properly?
Thank you
-Tom
Olate
02-04-2006, 07:06 AM
You need to add the .php3 extension to the Apache (assuming you're using Apache) AddType line for the PHP parser. i.e
AddType application/x-httpd-php .php .phtml
to change to
AddType application/x-httpd-php .php .phtml .php3
tommca478
02-04-2006, 04:03 PM
Thank you very much for the tip.
-Tom
ScriptBlue
02-04-2006, 04:37 PM
Just as a little sidenote thing, I've noticed that AddHandler is more preffered by Apache becuase "application/x-httpd-php" is called in a thread safe method. This really doesn't have a big impact, but if you see Apache segfaulting, change it to AddHandler.
ScriptBlue
02-04-2006, 04:37 PM
sorry for the double posted, my connection messed up, *erase this post please*