Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CS3 File extensions

Engaged ,
Aug 20, 2008 Aug 20, 2008
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
TOPICS
Server side applications
694
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Aug 20, 2008 Aug 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 Es...
Translate
LEGEND ,
Aug 20, 2008 Aug 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
>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 20, 2008 Aug 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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 20, 2008 Aug 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.
>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 20, 2008 Aug 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/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 26, 2008 Aug 26, 2008
LATEST
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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 21, 2008 Aug 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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines