Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PHP - how to build non-CLI?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
tparker
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2002
Posts: 85

PostPosted: Sun Mar 30, 2003 2:46 pm    Post subject: PHP - how to build non-CLI? Reply with quote

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
View user's profile Send private message
rojaro
l33t
l33t


Joined: 06 May 2002
Posts: 732

PostPosted: Mon Mar 31, 2003 12:54 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
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