>> Edit article
이름
제목
패스워드
php와 아파치 그리고 mysql을 모두 설치를 했습니다. 그런데..... 제 컴퓨터로 접속을 하면 곧바로 접속하는 경로를 /tmp로 설정했거든요.. 방법은 /tmp경로에서 cat > httpd.conf user nobody Group nobody ServerName localhost DocumentRoot /tmp AddType application/x-httpd-php3 .php3 ^D 그다음 /tmp경로에서 /usr/local/apache/bin/httpd -f /tmp/httpd.conf 를 했습니다. 그런다음 http://localhost/에 It Worked 라는 메세지가 나오는데/.. 위의 설정을 해주었으니까 /tmp경로의 파일이나 폴더들이 보여야 정상이 아닙니까? 아니면 이 경로에 test.php3 <?php phpinfo(); ?> 를 만들어 http://localhost/test.php3 를 쳐도 에러메세지만 나옵니다. 어떻게 해야 하나요.... php화일은 어디에서 작동하나요?... 그리고 기본 경로를 어떻게 설정하나요?..즉 제 주소를 쳤을때 나오는 경로 말입니다 자세한 설명 부탁드립니다.
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved