Server IP : 195.201.23.43 / Your IP : 18.116.74.246 Web Server : Apache System : Linux webserver2.vercom.be 5.4.0-192-generic #212-Ubuntu SMP Fri Jul 5 09:47:39 UTC 2024 x86_64 User : kdecoratie ( 1041) PHP Version : 7.1.33-63+ubuntu20.04.1+deb.sury.org+1 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/webmin/virtual-server/help/ |
Upload File : |
<header>預設 PHP 執行模式</header>預設 PHP 腳本執行模式定義了 PHP 程式碼在新虛擬伺服器中的處理方式。<p><b>停用</b>模式意味著伺服器不執行 PHP 腳本,而是將其視為純文字檔案。當不需要 PHP 處理或將 PHP 程式碼作為可下載檔案提供時,可以使用此模式。<p> <b style="color: green;">FPM</b>是首選模式,可提供高效率和自適應流程管理等進階功能。它作為獨立的 FastCGI 伺服器運行,由於其強大的性能,非常適合高流量網站。<p> <b>FCGId</b>對於 FPM 不可用的伺服器很有用。它還支援每個虛擬主機的配置,儘管它在可擴展性和管理功能方面通常無法與 FPM 相符。<p> <b>CGI Wrapper</b>模式透過 CGI 協定將每個 PHP 腳本作為單獨的進程運行。由於為每個請求建立新程序的開銷,此模式的效率低於 FPM 或 FCGId。由於其性能限制,它很少在現代設置中使用。<p> <b style="color:crimson">mod_php</b>將 PHP 直接整合到 Apache Web 伺服器中,讓 PHP 腳本在伺服器自己的進程中執行。然而,由於安全性和隔離問題,加上支援和更新的停止,它現在已經過時了。<footer>Private