blacksaildivision / lamponsteroids

Pack of Ansible roles for CentOS to set up a robust and secure web server
25 stars 15 forks source link

Fix issue with certificate and missing PECL during compilation #93

Closed blacksaildivision closed 6 years ago

blacksaildivision commented 6 years ago

There are two issues - compilation stuck during sudo make install as there is a problem with PEAR:

Installing PEAR environment:      /usr/local/php/lib/php/

Warning: fopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/src/php-src-php-7.1.8/pear/fetch.php on line 66

Warning: fopen(): Failed to enable crypto in /usr/src/php-src-php-7.1.8/pear/fetch.php on line 66

Warning: fopen(https://pear.php.net/install-pear-nozlib.phar): failed to open stream: operation failed in /usr/src/php-src-php-7.1.8/pear/fetch.php on line 66

Error..
fopen(https://pear.php.net/install-pear-nozlib.phar): failed to open stream: operation failed
make: *** [install-pear] Błąd 1

PHP is installed but pecl command is missing - so there is second issue - we can't install PHP extensions

blacksaildivision commented 6 years ago

Fixed with https://github.com/blacksaildivision/lamponsteroids/pull/99