개발/PHP

[VScode] PHP IntelliSense The path to a PHP 7+ executable 설정

soohkang 2019. 7. 18. 11:35
728x90

1. vscode 시작 시 오른쪽 하단에 오류메시지가 노출될 때 

 




2. 이럴 경우 왼쪽 상단의 File > Preferences > Settings 로 들어간다

 




3. Extensions > PHP IntelliSense > Edit in settings.json 으로 들어간다

 



4. 왼쪽, 오른쪽으로 화면이 나뉘는데 오른쪽 화면의 Place your settings here to override the Default Settings 에 본인 컴퓨터의 php.exe 경로를 추가해야한다.

 




5. php.exe 경로를 입력하고 저장하면 1번에서 확인되는 오류가 사라진다.

 

 

끝!