Jul 9, 2015
0
Level 1
Homestead PECL install error
I am trying to install the php5-oci8 extension for PHP using PECL. Actually I am behind a corporate SSL proxy, and when I run
pecl -vvv install oci8
I get the following output
Warning: file_exists(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader/Package.php on line 1518
Warning: is_file(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader/Package.php on line 1528
Warning: is_file(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader/Package.php on line 1528
Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol in PEAR/REST.php on line 417
Warning: fsockopen(): Failed to enable crypto in PEAR/REST.php on line 417
Warning: fsockopen(): unable to connect to ssl://10.23.10.10:3129 (Unknown error) in PEAR/REST.php on line 417
No releases available for package "pecl.php.net/oci8"
Cannot initialize 'channel://pecl.php.net/oci8', invalid or missing package file
Package "channel://pecl.php.net/oci8" is not valid
install failed
I lost many hours finding what was going wrong with my ssl proxy (all other services works well: cURL, wget, composer, npm, bower) but not pecl.
I have finally solved my problmem by uninstalling
sudo apt-get remove php5-pear --purge
and reinstalling it.
My question is, where can I ask (if not here) if it's possible to update the homestead vm base package to include the latest php5-pear package from apt-get ?
Please or to participate in this conversation.