bash: phpize: command not found
If you’ve encountered this error while trying to build a PHP plugin or an Apache extension, then you’re simply missing the PHP-Devel package on your system:
-bash: phpize: command not found
To fix this, simple issue one of the commands, depending on your linux O/S:
CentOS: yum -y install php-devel Fedora: up2date -i php-devel
Personally, I run yum on my fedora machine, so I would simply use it to install the package. If you don’t have yum, check out Managing Software with Yum, a great guide for sysadmins.
| This entry was posted on Sunday, September 14th, 2008 at 1:35 pm and is tagged with fedora up2date, devel package, managing software, issue one, centos, yum, phpize, apache, linux. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback. |
And I have php installed of this version
]# php –version
PHP 5.2.6 (cli) (built: May 8 2008 08:54:23)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
I have Fedora 8, 64bit and when i tried to install php-devel package which is required to install APC on the server.. following are the error. Could you please guide me right direction to get rid of this..
]#yum -y install php-devel
Loading “fastestmirror” plugin
Loading mirror speeds from cached hostfile
* updates-newkey: archive.fedoraproject.org
* fedora: archive.fedoraproject.org
* updates: archive.fedoraproject.org
* s3tools: s3tools.org
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
–> Running transaction check
—> Package php-devel.i386 0:5.2.4-3 set to be updated
–> Processing Dependency: php = 5.2.4-3 for package: php-devel
—> Package php-devel.x86_64 0:5.2.6-2.fc8 set to be updated
–> Finished Dependency Resolution
Error: Missing Dependency: php = 5.2.4-3 is needed by package php-devel
Do you know how to replace phpize in php on windows ?