>> Edit article
이름
제목
패스워드
================================================================= : 다 설치를 했거든여 그런데 test.php3 를 linux netscape 에서 읽으면 : phpinfo가 나온다구 하는데 왜 저는 소스만 나오져??? : : 제가 설치한 apm 방법 입니다.철규의 A.P.M 설치 방법 : : 먼저 mysql 을 설치 했습니다.... : 버전은 mysql-3.22.32 버전 입니다. : 설치 방법은 : : ./configure --prefix=/usr/local/mysql : >--localstatedir=/usr/local/mysql/data : >--with-charset=euc_kr : : 이렇게 하고 make, make install 했습니다. : : 글구 mysql 실행 시켜 줬지여 (./bin/mysql_install_db) : 글구 데몬(./bin/safe_mysqld &) 띄우고요... : : php 하구 apache 설치 입니다. : : 버전은 apache_1.3.12 하구 php-3.0.12 입니다 : : 먼저 apache_1.3.12 디렉토리에 가서 ./configure 해구요 : 그담에 php-3.0.12 디렉토리로 가서 : : ./configure --with-apache=/usr/local/src/apache_1.3.12 / : >--with-mysql=/usr/local/mysql : >--with-gd=/usr/local/gd --with-ttf --enable-track-vars : : 이렇게 했구어 그담에 make, make install 해서 설치 했구여 : : 그담에 apache_1.3.12 로 가서 : ./configure --prefix=/www --activate- module=src/modules/php3/libphp3.a : : 물론 libphp3.a 생긴거 확인 했구여...... 그담에 make, make install 해 서 : 설치 끝냈어여.... : : 네모칸에 You now have successfully....... 이렇게 나왔어여..... : : 글구 httpd.conf 화일에서 : : AddType application/x-httpd-php3 .php3, .html : AddType application/x-httpd-php3-source.phps : : 이 두개 주석(#) 제거 했구여.... : ./bin/apachectl start 했습니다. : 글구.... rc.local 에 아파치 웹서버랑 mysql 실행 추가 시켜 주구여 : : 바로 이 다음이 문제에여 : cd /www/htdocs 인가?? 글구 가서 test.php3 만들어서 : linux 용 네스케입으로 읽었는데 그냥 소스로 보이는거에여.... 흑흑... : : 머가 잘못 됐는지 모르겠어여....... ㅜ.ㅜ : : 제발 도와 주세여 : : -- : 이 곳에 서명을 적어주십시오. : 초보 아니었던 사람 엄따.....!!! ====================================================================== 저두 잘은 모르지만 httpd.conf 파일에서 한가질 빼먹은것 같군엽 지금 윈도그라서 정확하게 답변을 못해드리지만 AddModule(잘기억이..하이튼 Add로 시작함)로 시작하는 부분들이 많이 있을겁니다... 근데엽 php4로 설치했나엽 아님 php3로 설치를 했나엽 PHP4이겠죠?? # AddType allows you to tweak mime.types without actually editing it, or to # make certain files to be certain types. # # For example, the PHP3 module (not part of the Apache distribution - see # http://www.php.net) will typically use: # #AddType application/x-httpd-php3 .php3 #AddType application/x-httpd-php3-source .phps 이부분 있죠?? AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .phps 앞에 주석을 없애고 나서 php4에선 php3랑 틀리게 AddType application/x-httpd-php .php3 .html .ph .phtml AddType application/x-httpd-php-source .phps 3을 빼줘야 한답니다... 그리고 아파치를 다시 시작 하고 해보세엽... 그래도 안됀다면 저두 잘 몰려~~~~--이 곳에 서명을 적어주십시오. 초보맘은 초보가 안덩~~~~~~~~~
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved