跳至主要內容
:::

20-3-3 安裝 PHP

  1. 查詢PHP版本,下面的 7.2 請改成實際版本號,例如 7.4 之類的
    php -v

     

  2. 安裝 PHP 及相關套件
    sudo apt install php-fpm php-mysql php-curl php-mbstring php-zip php-soap php-mail php-gd php-xml

     

  3. 編輯 Nginx 的網站設定檔,使網站支援PHP(Ctrl+O 儲存,Ctrl+X 離開)
    sudo nano /etc/nginx/sites-available/default

    內容為:

    server {
            listen 80 default_server;
            listen [::]:80 default_server;
            client_max_body_size 200M;
    
            root /var/www/html;
    
            # Add index.php to the list if you are using PHP
            index index.php index.html index.htm index.nginx-debian.html;
    
            server_name www.學校網域.tyc.edu.tw;
    
            location / {
                    # First attempt to serve request as file, then
                    # as directory, then fall back to displaying a 404.
                    try_files $uri $uri/ /index.php;
            }
    
            # pass PHP scripts to FastCGI server
            #
            location ~ \.php$ {
                    include snippets/fastcgi-php.conf;
    
                    # With php-fpm (or other unix sockets):
                    fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
                    # With php-cgi (or other tcp sockets):
                    #fastcgi_pass 127.0.0.1:9000;
            }
    
            # deny access to .htaccess files, if Apache's document root
            # concurs with nginx's one
            #
            location ~ /\.ht {
                    deny all;
            }
    }

     

  4. 先檢查 Nginx 設定檔語法是否正確
    sudo nginx -t

     

  5. 最後重新啟動 Nginx 讓設定生效
    sudo systemctl reload nginx

     

  6. 建個PHP測試檔
    sudo nano /var/www/html/info.php

    內容為:

    <?php
    phpinfo();

     

  7. 執行看看,是否能運作:
    http://學校IP或網址/info.php

     

  8. 修改 php.ini 讓網站運作更順利
    sudo nano /etc/php/7.2/fpm/php.ini

    請按著下表調整設定吧:

    設定項目 建議值 相關說明
    max_execution_time 150
    每個程序最大允許執行時間(秒),0 表示沒有限制。這個參數有助於阻止劣質程序無休止的佔用伺服器資源。
    檔案上傳時,若檔案很大,頻寬卻很小,那麼此值需調大一點,例如上傳 10M 檔案需要花2分鐘,那此值就不要小於 120。
    max_input_time 120
    每個程序解析輸入數據 (POST, GET, upload) 的最大允許時間(秒)。
    -1 表示不限制。
    max_input_vars 5000
    請刪除前面的 ;
    表單可接收的變數數量,超過此數量,就可能無法完全接收表單內容。
    部份系統有匯入功能,匯入後若有表單確定畫面,通常會有很多變數,因此,調大此值有助於匯入資料的完整性。
    memory_limit 240M
    一個程序所能夠申請到的記憶體空間 (可以使用 K 和 M 作為單位)。 這有助於防止劣質程序消耗完伺服器上的所有記憶體。如果要取消記憶體限制,則必須將其設為 -1 。
    display_errors on
    是否顯示錯誤訊息?建議開啟!!否則網站變成空白時將很難進行除錯。
    post_max_size 220M
    允許的 POST 數據最大字節長度。此設定也影響到檔案上傳。
    如果 POST 數據超出限制,那麼 $_POST 和 $_FILES 將會為空。
    要上傳大檔案,該值必須大於 upload_max_filesize 指令的值。
    如果啟用了記憶體限制,那麼該值應當小於 memory_limit 指令的值。
    upload_max_filesize 200M
    允許上傳的檔案的最大尺寸。
    max_file_uploads 300
    最多只能傳幾個檔案?請視需求設定之。
    date.timezone Asia/Taipei
    請刪除前面的 ;
    主機預設時區,若主機在台灣,請務必設置為「Asia/Taipei」,否則系統抓到的可能會有誤差。
  9. 重啟 PHP
    sudo service php7.2-fpm restart

     


:::

書籍目錄

展開 | 闔起

快速登入

XOOPS輕鬆架快速上手


https%3A%2F%2Fcampus-xoops.tn.edu.tw%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D1691%26tbsn%3D18

計數器

今天: 665665665
昨天: 4310431043104310
總計: 9137836913783691378369137836913783691378369137836
全部 錯誤訊息 (75) 已棄用 (0) 資料庫語法 (46) 區塊 (9) 額外資訊 (2) 計時(6)
錯誤訊息
未知: Creation of dynamic property Smarty_Internal_Extension_Handler::$assignByRef is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php 列 182
未知: Creation of dynamic property Smarty_Internal_Extension_Handler::$loadPlugin is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php 列 182
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Extension_Handler::$_foreach is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php 列 182
未知: Creation of dynamic property Smarty_Variable::$do_else is deprecated 在檔案中的第 /www/wwwroot/campus/xoops_data/caches/smarty_compile/e5b8b7fe_logcounterx_school2022_default^82ef57587fa6739f25bec43c4a8b75b0fec1cb14_0.db.lcxblockdisplay.html.php 列 27
未知: Creation of dynamic property Smarty_Variable::$do_else is deprecated 在檔案中的第 /www/wwwroot/campus/xoops_data/caches/smarty_compile/e5b8b7fe_logcounterx_school2022_default^82ef57587fa6739f25bec43c4a8b75b0fec1cb14_0.db.lcxblockdisplay.html.php 列 42
未知: Creation of dynamic property Smarty_Variable::$do_else is deprecated 在檔案中的第 /www/wwwroot/campus/xoops_data/caches/smarty_compile/e5b8b7fe_logcounterx_school2022_default^82ef57587fa6739f25bec43c4a8b75b0fec1cb14_0.db.lcxblockdisplay.html.php 列 42
未知: Creation of dynamic property Smarty_Variable::$do_else is deprecated 在檔案中的第 /www/wwwroot/campus/xoops_data/caches/smarty_compile/e5b8b7fe_logcounterx_school2022_default^82ef57587fa6739f25bec43c4a8b75b0fec1cb14_0.db.lcxblockdisplay.html.php 列 42
未知: Creation of dynamic property XoopsModules/Tadtools/Dtree::$title_opt is deprecated 在檔案中的第 /modules/tadtools/class/Dtree.php 列 16
未知: Creation of dynamic property XoopsModules/Tadtools/Dtree::$cate_opt is deprecated 在檔案中的第 /modules/tadtools/class/Dtree.php 列 17
未知: Creation of dynamic property XoopsModules/Tadtools/Dtree::$url_opt is deprecated 在檔案中的第 /modules/tadtools/class/Dtree.php 列 18
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
警告: Undefined array key 2 在檔案中的第 /modules/tad_login/blocks/tad_login.php 列 22
警告: Undefined array key 2 在檔案中的第 /modules/tad_login/blocks/tad_login.php 列 56
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Variable::$do_else is deprecated 在檔案中的第 /www/wwwroot/campus/xoops_data/caches/smarty_compile/e5b8b7fe_tad_login_school2022_default^9a36fe6b7ef2d97043df58e0037061e72053376e_0.db.tadlogin.tpl.php 列 27
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
警告: Undefined array key "snarty" 在檔案中的第 /www/wwwroot/campus/xoops_data/caches/smarty_compile/e5b8b7fe_tad_discuss_school2022_default^930eeb1c2b9a11f7ab65e6c35374423bf8ad13c3_0.db.taddiscusscbox.tpl.php 列 48
警告: Attempt to read property "value" on null 在檔案中的第 /www/wwwroot/campus/xoops_data/caches/smarty_compile/e5b8b7fe_tad_discuss_school2022_default^930eeb1c2b9a11f7ab65e6c35374423bf8ad13c3_0.db.taddiscusscbox.tpl.php 列 48
警告: Trying to access array offset on null 在檔案中的第 /www/wwwroot/campus/xoops_data/caches/smarty_compile/e5b8b7fe_tad_discuss_school2022_default^930eeb1c2b9a11f7ab65e6c35374423bf8ad13c3_0.db.taddiscusscbox.tpl.php 列 48
警告: Trying to access array offset on null 在檔案中的第 /www/wwwroot/campus/xoops_data/caches/smarty_compile/e5b8b7fe_tad_discuss_school2022_default^930eeb1c2b9a11f7ab65e6c35374423bf8ad13c3_0.db.taddiscusscbox.tpl.php 列 48
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Extension_Handler::$getTemplateVars is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php 列 182
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Variable::$do_else is deprecated 在檔案中的第 /www/wwwroot/campus/xoops_data/caches/smarty_compile/e5b8b7fe_tad_book3_school2022_default^84539fe8acd40c5f378f06891603c382520ffd84_0.file.theme_css_blocks.tpl.php 列 25
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Variable::$do_else is deprecated 在檔案中的第 /www/wwwroot/campus/xoops_data/caches/smarty_compile/e5b8b7fe_tad_book3_school2022_default^8769a883ca1ac623e41162c9d54b2ce8411757a6_0.file.menu_my.tpl.php 列 25
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
警告: Undefined array key "tlogin" 在檔案中的第 /www/wwwroot/campus/xoops_data/caches/smarty_compile/e5b8b7fe_tad_book3_school2022_default^4b700abaeaf1cda7df0a719b7b2be562ca91d32a_0.file.menu_login.tpl.php 列 102
警告: Attempt to read property "value" on null 在檔案中的第 /www/wwwroot/campus/xoops_data/caches/smarty_compile/e5b8b7fe_tad_book3_school2022_default^4b700abaeaf1cda7df0a719b7b2be562ca91d32a_0.file.menu_login.tpl.php 列 102
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Variable::$do_else is deprecated 在檔案中的第 /www/wwwroot/campus/xoops_data/caches/smarty_compile/e5b8b7fe_tad_book3_school2022_default^eeb059e288a364212fc4e3c5217e3ce0a98cc7cf_0.file.leftBlock.tpl.php 列 50
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Variable::$do_else is deprecated 在檔案中的第 /www/wwwroot/campus/xoops_data/caches/smarty_compile/e5b8b7fe_tad_book3_school2022_default^595b03a20f1630ce88f70eb9ec2ebfacab28ac31_0.file.rightBlock.tpl.php 列 27
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Variable::$do_else is deprecated 在檔案中的第 /www/wwwroot/campus/xoops_data/caches/smarty_compile/e5b8b7fe_tad_book3_school2022_default^c3b372c147783809409e53366a84afc38a02d392_0.file.footerBlock.tpl.php 列 51
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
未知: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated 在檔案中的第 /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 列 719
已棄用
資料庫語法
0.000066 - SET SQL_BIG_SELECTS = 1
0.001598 - SELECT * FROM config WHERE (`conf_modid` = '0' AND `conf_catid` = '1') ORDER BY conf_order ASC
0.000188 - SELECT sess_data, sess_ip FROM session WHERE sess_id = 'l7fi4ah5ruqoqaell4vr59but9'
0.000702 - SELECT COUNT(*) FROM group_permission WHERE (`gperm_modid` = '1' AND (`gperm_groupid` = '3') AND `gperm_name` = 'module_read' AND `gperm_itemid` = '31')
0.000245 - SELECT * FROM config WHERE (`conf_modid` = '31') ORDER BY conf_order ASC
0.000173 - SELECT * FROM config WHERE (`conf_modid` = '0' AND `conf_catid` = '5') ORDER BY conf_order ASC
0.000149 - SELECT * FROM config WHERE (`conf_modid` = '0' AND `conf_catid` = '3') ORDER BY conf_order ASC
0.000739 - SELECT DISTINCT gperm_itemid FROM group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (3)
0.001431 - SELECT b.* FROM newblocks b, block_module_link m WHERE m.block_id=b.bid AND b.isactive=1 AND b.visible=1 AND m.module_id IN (0,31) AND b.bid IN (1,4,5,6,7,8,9,10,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,179,178,98,97,150,177,78,176,99,94,175,59,96,173,67,83,84,85,86,87,170,88,154,171,90,91,93,168,95,100,104,3,102,107,111,112,113,114,115,116,117,122,130,131,139,140,141,144,174,147,148,149,151,152,153,160,161,162,163,164) ORDER BY b.weight, m.block_id
0.000925 - SELECT cfgname, cfgvalue FROM logcounterx_cfg
0.002333 - DELETE FROM logcounterx_ip WHERE acctime < 1773182349
0.002704 - SELECT accip FROM logcounterx_ip WHERE accip = '216.73.216.210'
0.000196 - INSERT INTO logcounterx_ip (accip, acctime) VALUES ('216.73.216.210', 1773182949)
0.000183 - UPDATE logcounterx_count SET cnt = (cnt + 1), robot = (robot + 1) WHERE ymd = '1111-11-11'
0.000132 - SELECT cnt FROM logcounterx_count WHERE ymd = '2026/03/11'
0.000134 - UPDATE logcounterx_count SET cnt = (cnt + 1), robot = (robot + 1) WHERE ymd = '2026/03/11'
0.000145 - UPDATE logcounterx_hours SET cnt = (cnt + 1), robot = (robot + 1) WHERE hour = '06'
0.000101 - SELECT cnt FROM logcounterx_count WHERE ymd = '1111-11-11'
0.000147 - INSERT INTO logcounterx_log (remote_host, user_agent, path_info, referer, acccnt, uname, accday, acctime, accwday) VALUES ('', 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '/modules/tad_book3/page.php?tbdsn=1691&tbsn=18', '', 9137836, '', '2026-03-11', '06:49:09', '3')
0.019408 - SELECT MAX(acccnt), COUNT(recid) FROM logcounterx_log
0.001252 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (`tpl_tplset` = 'default' AND `tpl_file` = 'system_block_dummy.tpl') ORDER BY tpl_refid
0.000510 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (`tpl_tplset` = 'default' AND `tpl_file` = 'tadtools_qrcode_block.tpl') ORDER BY tpl_refid
0.000364 - SELECT cfgname, cfgvalue FROM logcounterx_cfg
0.000198 - SELECT cnt FROM logcounterx_count WHERE ymd = '2026-03-11'
0.000142 - SELECT cnt FROM logcounterx_count WHERE ymd = '2026-03-10'
0.000205 - SELECT cnt FROM logcounterx_count WHERE (ymd = '1111-11-11') OR (ymd = '1111/11/11')
0.000469 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (`tpl_tplset` = 'default' AND `tpl_file` = 'lcx_block_display.html') ORDER BY tpl_refid
0.000517 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (`tpl_tplset` = 'default' AND `tpl_file` = 'tad_book3_block_index.tpl') ORDER BY tpl_refid
0.000227 - SELECT * FROM config WHERE (`conf_modid` = '37') ORDER BY conf_order ASC
0.001888 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (`tpl_tplset` = 'default' AND `tpl_file` = 'tad_login.tpl') ORDER BY tpl_refid
0.001082 - SELECT COUNT(*) FROM group_permission WHERE (`gperm_modid` = '33' AND (`gperm_groupid` = '3') AND `gperm_name` = 'forum_read' AND `gperm_itemid` = '34')
0.001020 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (`tpl_tplset` = 'default' AND `tpl_file` = 'tad_discuss_cbox.tpl') ORDER BY tpl_refid
0.004152 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (`tpl_tplset` = 'default' AND `tpl_file` = 'system_block_search.tpl') ORDER BY tpl_refid
0.002321 - SELECT `conf_value` FROM `config` WHERE `conf_name` = 'allow_register'
0.001658 - SELECT `mid`, `name`, `dirname` FROM `modules` WHERE `isactive` = 1 AND `hasmain` = 1 AND `weight` != 0 ORDER BY `weight`
0.000419 - SELECT `conf_value` FROM `config` WHERE `conf_title` = '_MD_AM_DEBUGMODE'
0.000523 - SELECT COUNT(*) FROM `priv_msgs` WHERE `to_userid` = 0 AND `read_msg`=0 GROUP BY `to_userid`
0.000453 - SELECT `menuid`, `itemname`, `itemurl`, `target`, `icon`, `link_cate_name`, `link_cate_sn`, `read_group`, `of_level` FROM `tad_themes_menu` WHERE `status` = 1 ORDER BY `of_level`, `position`
0.000988 - desc `tad_book3_data_center` `sort`
0.000233 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tad_book3_data_center` where `mid`= '31' and `col_name`='read_tbdsn_date' and `col_sn`='1691' order by `sort` , `data_sort`
0.000226 - SELECT * FROM config WHERE (`conf_modid` = '3') ORDER BY conf_order ASC
0.001668 - desc `tad_book3_data_center` `sort`
0.001993 - select `col_sn`,`data_name`,`data_sort`, `data_value` from `tad_book3_data_center` where `mid`= '31' and `col_name`='video_tbdsn_date' and `col_sn`='1691' order by `sort` , `data_sort`
0.000138 - SELECT `groupid`,`name` FROM `groups`
0.001381 - SELECT `tt_theme`,`tt_use_bootstrap`,`tt_bootstrap_color`,`tt_theme_kind` FROM `tadtools_setup` WHERE `tt_theme` = 'school2022'
0.000376 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (`tpl_tplset` = 'default' AND `tpl_file` = 'tadbook3_index.tpl') ORDER BY tpl_refid
總計: 46
區塊
紀錄區塊: 沒有快取
自訂區塊(HTML): 沒有快取
本頁面行動條碼: 沒有快取
自訂區塊(HTML): 沒有快取
計數器: 沒有快取
書籍目錄: 沒有快取
快速登入: 沒有快取
即時留言簿: 沒有快取
搜尋: 沒有快取
總計: 9
額外資訊
包含檔案: 261 檔案
使用記憶體: 1796328 bytes
計時
XOOPS 使用 0.200 秒來載入。
XOOPS Boot 使用 0.016 秒來載入。
Module init 使用 0.004 秒來載入。
XOOPS output init 使用 0.112 秒來載入。
Module display 使用 0.030 秒來載入。
Page rendering 使用 0.039 秒來載入。