Mac 3

[PHP] MacOS에서 OpenSSL 문제 처리

PHP를 빌드했는데.. curl을 이용할 때나 file_get_contents에 url을 넣어서 텍스트를 읽어올 때 아래와 같은 SSL 인증서 오류가 나면서 동작이 되지 않는 문제가 생겼다. PHP Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /Users/gilchris/t.php on line 2 PHP Warning: file_get_contents(): Failed to enable crypto in /Users/gilchris/t...

PHP 2022.06.17

혹시라도 M1 Mac 에서 VirtualBox를 찾으시는 분이 계신다면..

!!! 지원 안합니다 !!! !!! 앞으로 지원 예정도 없습니다 !!! 참고 * https://forums.virtualbox.org/viewtopic.php?f=8&t=98742 virtualbox.org • View topic - M1 ARM Macs: Will Virtualbox be ported ? mpack wrote:I don't understand why people insist on not getting this simple fact: VirtualBox can't be ported to an ARM, because it's an x86 hypervisor, not a simulator. In VirtualBox your x86 guest code runs at near full speed..

개발자 일상 2022.06.17

MAC에서 python3 설치 위치와 실행 방법

맥에는 기본적으로 OS에 Python이 설치되어 있다. 하지만, 최근 버전인 El Capitan에도 2.7 버전이 설치가 되어 있어서 3.x를 사용하려면 따로 설치해야 한다. http://python.org 에서 파일을 받으면 pkg 확장자로 된 파일이 받아지고 이를 설치하면 어디서 설치 위치를 고를 수도 없이 설치가 된다. python을 실행해보려고 했지만 어디있는지 몰라서 해멧는데 응용 프로그램(Application) 디렉토리에 가면 Python 3.어쩌고라고 있다. (나는 3.5를 설치했다.) 안에 들어가면 실행할 수 있는 프로그램이 IDLE.app 하고 Python Launcher.app 두 가지가 있는데, IDLE.app은 대화형 콘솔이고, Python Launcher.app은 설정용 프로그램이..

Python 2016.07.11