Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

i wanted to install php-cli in php5.2.11..does it come built-in or should i install it?

share|improve this question

migrated from stackoverflow.com Jan 3 '10 at 9:29

This question came from our site for professional and enthusiast programmers.

Depending on your platform, php-cli may be a separate package. –  Frank Farmer Jan 3 '10 at 9:21
An emphatic and unqualified "maybe". –  womble Jan 3 '10 at 10:39

2 Answers 2

On debian/ubuntu it's the php5-cli package, but without knowing what OS you're actually using there's no real answer.

share|improve this answer
Most (if not all) RHEL-based distro's is "php-cli". "yum install php-cli" should do the trick. –  GruffTech Jan 6 '10 at 23:29

If I am not mistaken, on FreeBSD you have to reinstall php port and tick php-cli option during make

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.