Skip to main content
Inspiring
August 20, 2008
Answered

CS3 File extensions

  • August 20, 2008
  • 6 replies
  • 703 views
My ISp requires that all files on the server that use php5 shall have a .php5 extension.
It may work on the server, but how do I get it to work on my developement machine?
At the moment if I use this extension off line, all I get when I press F12 is a text file displaying the code.

Howard Walker
This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer Newsgroup_User
Murray *ACE* wrote:
> Requiring that file naming for your sites is indeed a loadofrubbish.

It is a load of rubbish, but not uncommon, even though PHP 4 has come to
the end of its life and PHP 5 is nearly four and a half years old.

Assuming Howard is using Apache, it's a question of editing httpd.conf.
You need to add this line:

application/x-httpd-php php5

Save httpd.conf and restart Apache. It should then serve .php5 files as PHP.

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

6 replies

Inspiring
August 21, 2008
.oO(whatalotofrubbish)

>My ISp requires that all files on the server that use php5 shall have a .php5
>extension.

Ask them if you can change it yourself or check their FAQ if they have
one. A good host allows to use .htaccess files (assuming they're running
Apache servers) and to parse arbitrary files for PHP.

Micha
Newsgroup_UserCorrect answer
Inspiring
August 20, 2008
Murray *ACE* wrote:
> Requiring that file naming for your sites is indeed a loadofrubbish.

It is a load of rubbish, but not uncommon, even though PHP 4 has come to
the end of its life and PHP 5 is nearly four and a half years old.

Assuming Howard is using Apache, it's a question of editing httpd.conf.
You need to add this line:

application/x-httpd-php php5

Save httpd.conf and restart Apache. It should then serve .php5 files as PHP.

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Inspiring
August 26, 2008
quote:

Originally posted by: Newsgroup User
Murray *ACE* wrote:
> Requiring that file naming for your sites is indeed a loadofrubbish.

It is a load of rubbish, but not uncommon, even though PHP 4 has come to
the end of its life and PHP 5 is nearly four and a half years old.

Assuming Howard is using Apache, it's a question of editing httpd.conf.
You need to add this line:

application/x-httpd-php php5

Save httpd.conf and restart Apache. It should then serve .php5 files as PHP.

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/



That is indeed the answer.
Thanks a lot David.
Now all works fine!
Howard
Inspiring
August 20, 2008
Requiring that file naming for your sites is indeed a loadofrubbish.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"whatalotofrubbish" <webforumsuser@macromedia.com> wrote in message
news:g8huvf$8tn$1@forums.macromedia.com...
> The thought had crossed my mind.
> Having spoken to Adobe, they state that it should be possible to configure
> the
> program to work with these filenames. The host has over 10,000 database
> users
> on his system, so I assume that at least a few of them use CS3.
>

Inspiring
August 20, 2008
The thought had crossed my mind.
Having spoken to Adobe, they state that it should be possible to configure the program to work with these filenames. The host has over 10,000 database users on his system, so I assume that at least a few of them use CS3.
Inspiring
August 20, 2008
Your ISP requires that? You mean your host? I'd sure change hosts....

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"whatalotofrubbish" <webforumsuser@macromedia.com> wrote in message
news:g8gl8v$aro$1@forums.macromedia.com...
> My ISp requires that all files on the server that use php5 shall have a
> .php5
> extension.
> It may work on the server, but how do I get it to work on my developement
> machine?
> At the moment if I use this extension off line, all I get when I press F12
> is
> a text file displaying the code.
>
> Howard Walker
>