[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] php on raq4



||>||>Hi all
||>||>
||>||>PHP4 and MySql are properly set up on my Raq4.
||>||>What extension do i have to use in order to publish PHP pages,
||>||>.php, .php3 or .php4?
||>||>(i think .php4 but....)
||>||>May i allow any kind of extensions (.php, .php3, .php4)? If yes,
||>||>what should be done?
||>||>Thanks
||>||>
||>||>Micka
||>
||>If you search through the archives you'll find a ton of messages
||>about this.
||>Also, plop the following line into an empty text file, name it
||>phptest.php,
||>and upload to your server:
||><?phpinfo()?>
||>That will give you a lot of info.
||>for a quick answer, use the .php extension. Long answer, search
||>the archives
||>to find out how to allow backwards compatability and good luck
||>getting it to
||>work.

Allow me to amend this!
Brian Curtis just sent through the fix for this (not sure if you were
watching that thread or not).
Add this line to your srm.conf:
 AddType application/x-httpd-php .php .php3 .php4 .phtml
I did it, rebooted, works perfectly.
Send all of your thanks to Brian.   :)

Carrie Bartkowiak