I just tried to PECL install mongodb and phalcon, but the build process ran out of memory with a nice error: cc: internal compiler error: Killed (program cc1)
.
I just found out clang is much better at memory optimization during the build process, but I can't find documentation on how to pecl install using clang instead of gcc. I'm using docker, so I can try things until they work.
Currently, I'm installing clang and NOT gcc, then trying to pecl install, and I get this error:
configure: error: no acceptable C compiler found in $PATH
.
Is it possible to either PECL install with clang? or is there another way to get around running out of memory installing with PECL?