Topic: phpize not available in php72-php-devel

Dear all,

I am running a CentOs 7.2 machine and installed php72-php-devel in order to compile php extensions. But I found no phpize in the package. What I am doing wrong?

My installed php72 packages:

$ rpm -qa php72\*
php72-runtime-2.0-1.el7.remi.x86_64
php72-php-devel-7.2.21-1.el7.remi.x86_64
php72-php-json-7.2.21-1.el7.remi.x86_64
php72-php-cli-7.2.21-1.el7.remi.x86_64
php72-php-common-7.2.21-1.el7.remi.x86_64


Bye, Hoschi

Re: phpize not available in php72-php-devel

phpize is there.


Have you enable the SCL ? (using the scl or module command)

$ scl enable php72 bash
$ which phpize
/opt/remi/php72/root/usr/bin/phpize

$ module load php72
$ which phpize
/opt/remi/php72/root/usr/bin/phpize

BTW, do you need multiple PHP versions ?
Else see the wizard instructions and use "single version" installation way which is far more simpler
https://rpms.remirepo.net/wizard/

> in order to compile php extensions.

Which extensions ?
Most of extensions are already in the repositoty, see https://blog.remirepo.net/pages/PECL-ex … RPM-status

> I am running a CentOs 7.2

Please update to latest (7.6)

Desktop: Fedora 29 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 30 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

Re: phpize not available in php72-php-devel

Thanks, that did the trick. I was not aware I had to enable SCL.

I am already using CentOS 7.6 (the 7.2 was just a typo).

I want to do some performance tests with this extension: https://github.com/iliaal/php_excel/


Thanks