Blog >> Linux >> PHP.
IDE 개발 환경 설정 – cursor AI
php 개발에 Lint 적용을 위해 cursor IDE 를 사용하기 위해, 환경을 설정.
일단 sshd 안정적인 상시 접속을 위한 ssh 접속 방법 변경. 기존 소켓 방식에서 정적 방식으로 변경.
~]# systemctl stop sshd.socket
~]# systemctl disable sshd.socket
Removed '/etc/systemd/system/sockets.target.wants/sshd.socket'.
~]# systemctl enable sshd.service
Created symlink '/etc/systemd/system/multi-user.target.wants/sshd.service' → '/usr/lib/systemd/system/sshd.service'.
~]# systemctl start sshd.service
~]# systemctl status sshd.service- cursor AI 설치
- Extension : Remote – SSH 설치
- SSH 접속용 인증키 설치
- 원격 폴더 오픈 후 워크스페이스 지정 – 워크스페이스 파일은 로컬에 저장.
- Extension : PHP Intelephense – 반드시 워크스페이스 로드 후 설치 – 그래야 서버 측에 설치 되어 Lint 함.



