/Users/cpm/Downloads/packages/php-5.4.45/ext/openssl/openssl.c:1433:15: error: incomplete definition of type ‘struct X509_extension_st’ p = extension->value->data; ~~~~~~~~~^ /Users/cpm/Downloads/packages/php-5.4.45/ext/openssl/openssl.c:1434:20: error: incomplete definition of type ‘struct X509_extension_st’ length = extension->value->length; $ curl -O https://www.openssl.org/source/old/1.0.2/openssl-1.0.2u.tar.gz $ tar xf openssl-1.0.2u.tar.gz $ cd openssl-1.0.2u $ ./Configure darwin64-x86_64-cc –prefix=/opt/openssl-1.0.2u $ make $ sudo make install
mmap() failed: [12] Cannot allocate memory PHP Fatal error: Out of memory (allocated 81788928) (tried to allocate 14987979559889010744 bytes) in phar:///usr/local/bin/composer/vendor/composer/ca-bundle/src/CaBundle.php on line 167
// The structLookupCache caches StructOf lookups. // StructOf does not share the common lookupCache since we need to pin // the memory associated with *structTypeFixedN.