리눅스에 MySQL, Apache, PHP, JSP를 설치하였습니다.
톰캣을 실행하고 웹으로 접속하면
톰갯 폴더에 있는 내용이 출력됩니다.
.jsp 파일은 실행이 되는데
.php 파일은 실행이 되질 않네요...
두개의 언어를 동시에 사용할 수는 없나요??
웹서버를 톰켓 stand alone 으로 돌리시지 마시고요
php 모듈이 설치된 apache로 웹서버를 돌리고 톰켓은 jk 커넥터로 연결해서 쓰세요.
간단히 말해서
apache web server 가 php 를 담당하고 *.jsp 등은 톰켓이 처리하는 식으로 하시면 됩니다.
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
가능하지요
웹서버를 톰켓 stand alone 으로 돌리시지 마시고요
php 모듈이 설치된 apache로 웹서버를 돌리고 톰켓은 jk 커넥터로 연결해서 쓰세요.
간단히 말해서
apache web server 가 php 를 담당하고 *.jsp 등은 톰켓이 처리하는 식으로 하시면 됩니다.
댓글 달기