laicc
Jan 4 2008, 11:49 PM
I can't seem to find phpize and need help installing it on my server. When I type phpize, I receive the response "command not found".
I'm running Red Hat Fedora Core 6, Apache 2.0, and PHP 5.1.6.
What is the safest way to install phpize? I've read about either using "yum install php-devel" or "yum install php5-devel". I'm confused about whether this is the correct approach and what installing these packages will actually do.
Thanks!
Chris
James Jhurani
Jan 6 2008, 08:05 PM
It depends what is available to you.
[root@core ~]# yum search php5-devel
Loading "installonlyn" plugin
Setting up repositories
Reading repository metadata in from local files
No Matches found
[root@core ~]# yum search php-devel
Loading "installonlyn" plugin
Setting up repositories
Reading repository metadata in from local files
php-devel.i386 5.1.6-3 core
Matched from:
php-devel
The php-devel package contains the files needed for building PHP
extensions. If you need to compile your own PHP extensions, you will
need to install this package.
php-devel.i386 5.1.6-3.7.fc6 updates
Matched from:
php-devel
The php-devel package contains the files needed for building PHP
extensions. If you need to compile your own PHP extensions, you will
need to install this package.
[root@core ~]#
To answer your question, I would go with "yum install php-devel".