python으로 웹 개발 실습을 진행하고자 생활코딩 web2-python 수업을 듣던 중,
실습 환경 구축에 필요한 WAMP 서비스가 종료된 것을 확인
* WAMP (=Windows + Apache + MySQL + PHP)
직접 Apache를 설치해서 실습을 진행하고자 함.
(추후 MySQL이 필요하다면 그것도 직접 설치..)
Apache 설치 방법
🌐 아파치(Apache) 서버 초간단 설치 방법
Apache 서버 설치하기 1. 아래 링크로 들어가 아파치 서버를 설치해준다. Apache VS16 binaries and modules download www.apachelounge.com 2. 다운로드 받은 압축파일을 풀어 Apache24 폴더를 C: 드라이브 경로로 이동
inpa.tistory.com
error
1.
(OS 5)액세스가 거부되었습다. : AH00369: Failed to open the Windows service manager, perhaps you forgot to log in as Administrator?
-> cmd 관리자모드로 실행
2. 영상대로 모두 진행 후, 127.0.0.1/helloword.py 리로드 하였으나 에러 발생
AH01223: couldn't spawn child process: C:/Apache24/htdocs/helloworld.py
-> helloworld.py 파일의 첫줄에 #!python 대신 내 컴퓨터의 python 프로그램 디렉토리를 찾아 넣어야 함
-> 나의 경우 #!C:\Users\user_name\AppData\Local\Programs\Python\Python39\python.exe
'개발 공부 > 백엔드' 카테고리의 다른 글
Django Rest Framework vs. GraphQL (chat GPT 검색) (0) | 2023.05.30 |
---|---|
VSCode에서 git bash 터미널 추가 (0) | 2023.04.25 |
관리자 권한으로 실행한 VS Code에서 git 연결 (0) | 2023.04.25 |