Delphi For PHP Forums    


Go Back   Delphi-PHP Forums > Delphi For PHP > Installation and Configuration
Forum Jump Register FAQ Members List Downloads Search Today's Posts Mark Forums Read

Installation and Configuration Need help installing Delphi for PHP? Having trouble configuring it? Post your questions here!

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 16th January 2009, 22:05
D4PHP Newbie
 
Join Date: Jan 2009
Posts: 7
RxRick is on a distinguished road
Default Save as extension .php5

Another newbie question.

I can't seem to get the IDE to load project files with extension .php5 When I add them to the project, the ?.xml.php5 does not get associated with the ?.php5 file.

Is there a trick or is this just not possible or advisable?

I would like to get my desktop and server files synchronized, so I don't have to edit my code and change each page reference from .php to .php5, and then I have to change the php file extensions when I upload them to the server.

Maybe there is a better way? Something I could edit in the .htaccess file?:
-----
AddHandler application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
AddType application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
AddHandler application/x-httpd-php .php .html
-----

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 16th January 2009, 23:55
405hp's Avatar
Firebug Fanatic
 
Join Date: Dec 2007
Location: State of Confusion
Posts: 3,480
405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute
Default

Best is to check with your server hosting company and see what they recommend.

http://forums.delphi-php.net/vcl4php...-syntax-error-
unexpected-t_string.html#post5559
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 19th January 2009, 10:02
D4PHP Newbie
 
Join Date: Jan 2009
Posts: 7
RxRick is on a distinguished road
Default solution

I changed the following line from:
AddHandler application/x-httpd-php .php .html
to:
AddHandler application/x-httpd-php5 .php .html

And now php5 is invoked every time.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 04:50.




Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 ©2009, Crawlability, Inc.
Copyright © 2004 - 2009, G&J Solutions Ltd. All Rights Reserved. terms of use