windows nginx-php 설치
2023. 11. 5. 18:10ㆍ웹/백엔드-php
728x90
반응형
nginx 설치
https://nginx.org/en/download.html
위 사이트로 이동후 다운로드 후 압축해제 후 원하는 폴더로 이동
nginx 설치된 폴더로 cmd창을 열어 "nginx"명령어 입력하면 구동 시작.
php 8 설치
위에 페이지로 간 다음, winodws downloads 클릭하여 사이트 이동 되면 " Thread Safe로 다운받아서 실행 함."
압축 해제 후 php8버전 이름으로 폴더 이름 변경후 C에 옮긴 후에 "시스템 환경 변수"에 경로 지정을 해줌.
해주는 김에 nginx도 경로 설정 해줌.
파워셀에선 ".\"을 붙여서 실행해야 함.
설치 후 버전 확인::
참고사이트:
https://citronbanana.tistory.com/97
https://harrydony.tistory.com/665
https://www.youtube.com/watch?v=DKXdkXCgtCQ
https://nginx.org/en/docs/switches.html
반응형
'웹 > 백엔드-php' 카테고리의 다른 글
변수 (0) | 2023.11.05 |
---|---|
PHP 페이지에 HTML과 PHP 코드를 혼합하는 방법 (0) | 2023.11.05 |