자주 사용 경로
방법 1 - php.ini (큐냅 관리자 페이지 접속 - 웹서버- php.ini 에 내용 추가)
opcache.enable=0
방법 2 - .htaccess
php_flag opcache.enable Off
방법 3 - php 파일에 추가
<?php
ini_set('opcache.enable', '0');
?>
- Use a screen-oriented text editor to edit apache.conf.
- Open /etc/config/apache/apache.conf
- Add any additional modules.
For example: LoadModule allowmethods_module modules/mod_allowmethods.so - Save and exit.
- Use the command /etc/init.d/Qthttpd.sh restart to reload Apache modules.
Viewing and confirming available Apache modules
- Use the command ls -a /usr/local/apache/modules to see available Apache module list
. - Use the command /usr/local/apache/bin/apachectl -M to confirm the Apache modules after reload .
.
Undoing changes to apache.conf
- Log in to QTS as an administrator.
- Go to Control Panel > Applications > Web Server > Web Server > Maintenance.
- Click Restore.
근데, sh 오류가 생겼다.. 아후 빡쳐.
어이없게, 그냥 웹에 접속해서, php.ini 를 수정하니 너무나 쉽게 잘 된다.
'things > QNAP 나스' 카테고리의 다른 글
큐냅 ssh - webserver 경로: /share/CACHDEV2_DATA/ (0) | 2023.01.02 |
---|---|
빌어먹을 Qnap Webdav 설정 (0) | 2022.10.21 |
큐냅 TS251 (셀러론 j1800 ) 구형 나스 (19.22W) (0) | 2022.08.23 |
댓글