Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


need help, how to install php5-cli on centos
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

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

  • cgs3238cgs3238 Member
    edited February 2014

    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.

  • cgs3238 said: yum install php-cli

    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"

  • @Nickman said:
    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...

Sign In or Register to comment.