New on LowEndTalk? Please Register and read our Community Rules.
need help, how to install php5-cli on centos
I'm using centos 5 32bit, and want to install php5-cli, but seems no package
yum install php5-cli
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.linux.duke.edu
* extras: mirror.ash.fastserv.com
* updates: centos.supsec.org
Setting up Install Process
No package php5-cli available.
Nothing to do
Comments
yum install php-cli
You can install things after running yum search XXXX, such as "yum search php-cli", it shows packages matching your need.
Indeed, as far as i'm aware of CentOS's yum uses php instead of php5, I have no idea why though
yum -y install php5-cli
@cgs3238 thanks, and how about install libcurl3 libcurl3-dev php5-curl,
I can't find the package with the code"yum search libcurl3"
@joodle thanks
yum install curl-devel
@cgs3238 are libcurl3 libcurl3-dev php5-curl all included in "curl-devel"
no, php-cli includes php-curl, so you don't need to install that...