Lifelesspeople.com

 Forum FAQsForum FAQs  Knowledge BaseKnowledge Base  RulesRules   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   HostingHosting   RegisterRegister 
 DonateDonate   WikiWiki   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Path to PHP?

 
Lifelesspeople.com Forum Index -> Server Support Questions
Post new topic   Reply to topic View previous topic :: View next topic  
Author Message
Vyx
Where's Waldo?


Joined: 25 Mar 2005
Posts: 1251
Location: Sothern California

PostPosted: Thu Jun 01, 2006 10:51 pm    Post subject: Path to PHP? Reply with quote

A couple questions:

1. Is it possible to make the server recognise a file without an extension as a PHP script by using a hashbang ( '#1 /path/to/php' )?

2. If it is possible, what is the path to the PHP executable? The PHP info page doesn't seem to display it…

Thanks in advance!
_________________
Why is it that more time you use, the less time you get?

Get FireFox :: [ L2P@last.fm : L2P@Last.fm Wiki Entry ] :: Mindglob.com
Back to top
 
LP-Trel
Zen


Joined: 02 Dec 2002
Posts: 5730
Location: Nirvana by Boredom

PostPosted: Thu Jun 01, 2006 11:06 pm    Post subject: Reply with quote

Depends on which binary. We use quite a few.

As for no extension you'll need to use a file limiter and:

SetHandler application/x-httpd-php
_________________
* Knowledge Base * Wiki * Forum FAQs *
Back to top
 
Vyx
Where's Waldo?


Joined: 25 Mar 2005
Posts: 1251
Location: Sothern California

PostPosted: Fri Jun 02, 2006 7:38 pm    Post subject: Reply with quote

Would it be possible to get a list of the different paths to the PHP binaries? (for future reference if nothing else)
_________________
Why is it that more time you use, the less time you get?

Get FireFox :: [ L2P@last.fm : L2P@Last.fm Wiki Entry ] :: Mindglob.com
Back to top
 
Display posts from previous:   
Post new topic   Reply to topic    Lifelesspeople.com Forum Index -> Server Support Questions All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Home | Hosting | News | Forum | Links | System Status | About | Archive | Donate ]
Powered by phpBB © 2001, 2002 phpBB Group
All trademarks and copyrights on this page are owned by their respective owners. Posts and comments are owned by the poster. Everything else © 2001 - 2007 Lifelesspeople.com