MediaWiki does not function when magic quotes are enabled. Please see the PHP Manual for help on how to disable magic quotes.

1 문제상황[ | ]

MediaWiki does not function when magic quotes are enabled. Please see the PHP Manual for help on how to disable magic quotes.

2 확인[ | ]

[root@zetawiki ~]# cat /etc/php.ini | grep magic
[root@zetawiki ~]# php -i | grep magic_quotes
magic_quotes_gpc => On => On
magic_quotes_runtime => Off => Off
magic_quotes_sybase => Off => Off

3 변경[ | ]

  • /etc/php.ini를 열어 하단에 내용 추가
[root@zetawiki ~]# vi /etc/php.ini
magic_quotes_gpc = Off

4 확인 2[ | ]

[root@zetawiki ~]# php -i | grep magic_quotes
magic_quotes_gpc => Off => Off
magic_quotes_runtime => Off => Off
magic_quotes_sybase => Off => Off

5 (필요시) 아파치 reload[ | ]

[root@zetawiki ~]# service httpd reload
Reloading httpd:

6 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}