| Author |
Message |
Vyx Where's Waldo?

Joined: 25 Mar 2005 Posts: 1251 Location: Sothern California
|
Posted: Thu Jun 01, 2006 10:51 pm Post subject: Path to PHP? |
|
|
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
|
Posted: Thu Jun 01, 2006 11:06 pm Post subject: |
|
|
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
|
Posted: Fri Jun 02, 2006 7:38 pm Post subject: |
|
|
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 |
|
| |
|
|
|