G
G
Grag2014-12-11 20:09:53
PHP
Grag, 2014-12-11 20:09:53

Why doesn't SSL work after setting up local php on mac?

Hello. Installed in .bash_profile link on xampp php
PATH="/Applications/XAMPP/xamppfiles/bin:$PATH"
any type request
composer self-update
returns

[Composer\Downloader\TransportException]                                     
  The "https://getcomposer.org/version" file could not be downloaded: SSL ope  
  ration failed with code 1. OpenSSL Error messages:                           
  error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify   
  failed                                                                       
  Failed to enable crypto                                                      
  failed to open stream: operation failed

What to do?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Boris Benkovsky, 2014-12-12
@Grag

The answer is not quite on the topic, but I personally got tired of installing PHP locally on mac, because working on a bunch of different projects, it was painful to switch and configure versions and dependencies for each project. Now I use Vagrant + ansible, the deployment time for a new project is the same, and switching between projects is within a minute.

O
Oleg Dyachenko, 2014-12-13
@OLDJman

I don't know for sure, but check your access settings. I had many issues resolved after granting access to APACHE on behalf of the user. How to run PHP script as root? The topic describes in detail how and what to do. Hope it helps

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question