Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pecl phpize failed config.m4 not found

Tags:

php

pecl

I am trying to install a Pecl extension (SCA_SDO) but when I run the following command pecl install SCA_SDO I get the resulting error:

downloading SCA_SDO-1.2.4.tgz ...
Starting to download SCA_SDO-1.2.4.tgz (576,531 bytes)
....................................................................................................................done: 576,531 bytes
194 source files, building
running: phpize
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source directory of the module

ERROR: `phpize' failed
like image 680
Colin747 Avatar asked Oct 06 '22 21:10

Colin747


2 Answers

download the file, uncompress and cd to the folder, then do pecl build

like image 126
sdo user Avatar answered Oct 10 '22 01:10

sdo user


Download from https://pecl.php.net/package/SCA_SDO

unzip and change into that folder und run

phpize
./configure
make clean && make && make install

nano php.ini
 add extension=yourextension.so
like image 33
rubo77 Avatar answered Oct 10 '22 01:10

rubo77