You get a bonus - 1 coin for daily activity. Now you have 1 coin

Where to Get phpize (phpize: command not found) - for Debian, CentOS, Ubuntu or RedHat

Practice



If, when you run
# phpize

you get something like this:
-bash: phpize: command not found

or something like this:
Can't find PHP headers in /usr/include/php
The php-devel package is required for use of this command.

That means... yes, that utility just isn't installed. But if you try to look for it through aptitude or yum (for Debian or CentOS respectively), you'll be surprised to find it's not in the repos.


The thing is, phpize comes bundled with the php-devel package, which you need to install for this utility to become available to you.


Debian (or Ubuntu):
$ sudo aptitude install php5-dev

CentOS (or RedHat):
$ sudo yum install php-devel
or for PHP 5.3.x
$ sudo yum install php53-devel


That's all there is to it.

Comments

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "LINUX operating system"

Terms: LINUX operating system