xampp 에서 그누보드 돌릴때 에러가 보인다면... 정보
xampp 에서 그누보드 돌릴때 에러가 보인다면...본문
XAMPP 에서 그누보드가 설치되지 않거나 정상 작동하지 않을때
php.ini 파일을 열어서
; This directive determines whether or not PHP will recognize code between
; <? and ?> tags as PHP source which should be processed as such. It's been
; recommended for several years that you not use the short tag "short cut" and
; instead to use the full <?php and ?> tag combination. With the wide spread use
; of XML and use of these tags by other languages, the server can become easily
; confused and end up parsing the wrong code in the wrong context. But because
; this short cut has been a feature for such a long time, it's currently still
; supported for backwards compatibility, but we recommend you don't use them.
; Default Value: On
; Development Value: Off
; Production Value: Off
; http://php.net/short-open-tag
;short_open_tag = Off <<<<<<<<<<<<<<<<<<<<<<<<<<< 이렇게 수정
; XAMPP for Linux is currently old fashioned
short_open_tag = On <<<<<<<<<<<<<<<<<<<<<<<<<<< 이렇게 수정
아파치 재시작하시면 됩니다..
php.ini 파일을 열어서
; This directive determines whether or not PHP will recognize code between
; <? and ?> tags as PHP source which should be processed as such. It's been
; recommended for several years that you not use the short tag "short cut" and
; instead to use the full <?php and ?> tag combination. With the wide spread use
; of XML and use of these tags by other languages, the server can become easily
; confused and end up parsing the wrong code in the wrong context. But because
; this short cut has been a feature for such a long time, it's currently still
; supported for backwards compatibility, but we recommend you don't use them.
; Default Value: On
; Development Value: Off
; Production Value: Off
; http://php.net/short-open-tag
;short_open_tag = Off <<<<<<<<<<<<<<<<<<<<<<<<<<< 이렇게 수정
; XAMPP for Linux is currently old fashioned
short_open_tag = On <<<<<<<<<<<<<<<<<<<<<<<<<<< 이렇게 수정
아파치 재시작하시면 됩니다..
추천
0
0
댓글 6개
좋은정보 감사드립니다.
<?php ?>
이거 때문에 그렇죠? :)
이거 때문에 그렇죠? :)
네. 옛날분들 (old fashioned)은 <?php 를 그냥 <? 이렇게 쓰셨다고 합니다.
고맙습니다
위 안내대로 그대로 했건만 그래도 안되는 분들을 위해 좀 무식하지만 초자한테는 유용한 방법을 소개합니다.
xampp같은 apm 프로그램(apmsetup, autoset 기타 등등)을 여러개 다운 받아 놓았다가 하나, 하나씩 설치해 보고 되는게 있으면 그걸 쓰면됩니다.
저도 초보로서 어떤 문제가 있을 때 어떤 안내서 대로 그대로해서 바로 되는 경우는 10%도 안되었습니다.
안내 말귀도 잘 못알아 먹겠고, 상황에 대한 대처 능력이 없을땐 이 편이 휠씬 시간절약이 됩니다.
저도 xampp를 설치했다가 에러가 나서 해결책을 찾느라 한주일을 생고생을 하고도 허탕, 결국 다른 프로그램 하나를 설치했더니 그개 되서 그걸 쓰고 있습니다. 그게 또 문제되면 다른 걸 써보기로...
xampp같은 apm 프로그램(apmsetup, autoset 기타 등등)을 여러개 다운 받아 놓았다가 하나, 하나씩 설치해 보고 되는게 있으면 그걸 쓰면됩니다.
저도 초보로서 어떤 문제가 있을 때 어떤 안내서 대로 그대로해서 바로 되는 경우는 10%도 안되었습니다.
안내 말귀도 잘 못알아 먹겠고, 상황에 대한 대처 능력이 없을땐 이 편이 휠씬 시간절약이 됩니다.
저도 xampp를 설치했다가 에러가 나서 해결책을 찾느라 한주일을 생고생을 하고도 허탕, 결국 다른 프로그램 하나를 설치했더니 그개 되서 그걸 쓰고 있습니다. 그게 또 문제되면 다른 걸 써보기로...
좋은 정보 잘 보았습니다.~~~