View previous topic :: View next topic |
Author |
Message |
tparker Tux's lil' helper
Joined: 03 Oct 2002 Posts: 85
|
Posted: Sun Mar 30, 2003 2:46 pm Post subject: PHP - how to build non-CLI? |
|
|
I upgraded my PHP on two servers - on one of them, after building, it told me that it's a CLI version and not for web servers. This renders it pretty useless then, since my PHP is built purely for web use!! A few questions then:
1. What is CLI and why is it building CLI? (note it built proper version on other machine)
2. How to I force a non-CLI version? (i.e. a USEABLE version)
3. What else could PHP possibly be used for if it's not for the web?
Thanks,
Terence |
|
Back to top |
|
|
rojaro l33t
Joined: 06 May 2002 Posts: 732
|
Posted: Mon Mar 31, 2003 12:54 am Post subject: |
|
|
1. & 3. CLI = Command Line Interface
php is a interpreter, just like perl. so you can use it to write script's. another purpose to compile it as a standalone binary is to use it as CGI.
2. emerge dev-php/mod_php _________________ A mathematician is a machine for turning coffee into theorems. ~ Alfred Renyi (*1921 - †1970) |
|
Back to top |
|
|
|