posted by These Days 2013. 9. 26. 07:54

IIS 6.0 + PHP 5.2.17 셋팅을 했다

설정을 다 하고 테스트로 <? phpinfo(); ?> 를 띄워봤는데 한겨울 설원과도 같은 하얀 화면만 날 반긴다..

소스보기 하면 PHP 소스 내용이 그대로 보인다

왜 그럴까..

태그를 <?php php?>로 바꿔 줬더니 정상적으로 페이지가 열렸다..

혹시나 하고 php.ini 파일을 좀 뒤져봤더니 

; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.

; NOTE: Using short tags should be avoided when developing applications or

; libraries that are meant for redistribution, or deployment on PHP

; servers which are not under your control, because short tags may not

; be supported on the target server. For portable, redistributable code,

; be sure not to use short tags.

short_open_tag = Off

항목이 있었다

이걸

short_open_tag = On

으로 바꿔줬더니 <? 태그도 정상적으로 인식


'Web > PHP' 카테고리의 다른 글

sqlsrv_query() expects parameter 1 to be resource, null given in...  (0) 2013.09.27
posted by These Days 2012. 3. 30. 09:05

Setting Server MIME Types

It may be necessary to configure your webserver so that the manifest file and app file are transmitted correctly.

For Mac OS X Server use Server Admin to add the following MIME types to the MIME Types settings:

application/octet-stream ipa
text/xml plist

For IIS, use IIS Manager to add the MIME type in the Properties page of the server:

.ipa application/octet-stream
.plist text/xml


'Mobile > iOS' 카테고리의 다른 글

아이폰6 서비스 안됨, 검색중  (0) 2020.04.10