Q & A

  • You do not have permissions to view this page - please try logging in.

版本為 00:22, 29 Jul 2026

到這個版本。

返回到 版本存檔.

查閱目前版本

Q & A

Q: 主機置於 NAT 網路內,外部用戶可以登入 FTP,但無法顯示目錄

A:編輯 /etc/pure-ftpd/pure-ftpd.conf

PassivePortRange          40110 40210

重啟服務 pure-ftpd

# service pure-ftpd stop
# service pure-ftpd start 

變更網路防火的規則

將 Port 40110-40210 轉送到主機內部 IP

Q: 服務 pop3 & imap 出現 offline

A:Admin UI > Monitor > Show Services

POP3-Server: offline
IMAP-Server: offline

解決:編輯 /etc/dovecot.conf

#listen = *, [::]
listen = * 

重啟服務 dovecot

service dovecot start
Q: 安裝完後的初始化設定

A:對主要的 domain name 新增 DNS Zone。

Admin UI > DNS > Add new DNS zone with Wizard

Q: Limits 內的 main template 與 additional template 用法

A:
1. 狀況描述:

mail template)

  • web domain 數量限制:2

additional template)

  • web domain 數量限制:5

當 Client/Reseller 選擇了 main template 及 additional template 時,實際 web domain 數量限制為 7。

2. 名詞關聯

  • master template -> main template
  • addon template -> additional template
     

3. 如果 master template 選擇 Custom,則會套用頁面下方的設定參數。

Q:什麼是 PHP Options

A:原文說明如下:

PHP Options: Specify which PHP modes should be available for the client when he creates/modifies a web
site. The following four modes are available: Fast-CGI, CGI, Mod-PHP, SuPHP.

‧ Fast-CGI:
Advantages:
‧ Scripts will be executed with user privileges of the web site;
‧ More than one PHP version can be run as FastCGI;
‧ Might be better in speed compared to CGI and suPHP.
Disadvantages:
‧ php.ini values cannot be changed via PHP scripts, vhost files, .htaccess files. But it is possible to
use the Custom php.ini settings field on the Options tab of a web site in ISPConfig to
specify custom php.ini settings (see chapter 4.6.1.1).

‧ CGI:
Advantages:
‧ Scripts will be executed with user privileges of the web site;
‧ More than one PHP version can be run as CGI.
Disadvantages:
‧ CGI might use a little more memory (RAM) - therefore, it's not recommended to run PHP as CGI on
slow virtual servers;
‧ php.ini values cannot be changed via PHP scripts, vhost files, .htaccess files. But it is possible to
use the Custom php.ini settings field on the Options tab of a web site in ISPConfig to
specify custom php.ini settings (see chapter 4.6.1.1).

‧ Mod-PHP:
Advantages:
‧ Speed;
‧ Needs less memory (RAM) than CGI;
‧ php.ini values can be changed via PHP scripts, vhost files, .htaccess files.
Disadvantages:
‧ Scripts are being executed with Apache privileges, which might lead to some security related problems;
‧ Only one version of PHP can be installed as Apache module;
‧ You cannot use the Custom php.ini settings field on the Options tab of a web site in
ISPConfig to specify custom php.ini settings (see chapter 4.6.1.1).

‧ SuPHP:
Advantages:
‧ Scripts will be executed with user privileges of the web site;
‧ Each vhost can have its own php.ini file;
‧ Needs less memory (RAM) than CGI;
‧ More than one PHP version can be run as suPHP.
Disadvantages:
‧ php.ini values cannot be changed via PHP scripts, vhost files, .htaccess files. But it is possible to
use the Custom php.ini settings field on the Options tab of a web site in ISPConfig to
specify custom php.ini settings (see chapter 4.6.1.1);
‧ SuPHP might be a little slower than mod_php.

Recommendations:
‧ High-Traffic Web Sites: Fast-CGI + suExec
‧ Low-Traffic Web Sites: CGI + suExec or SuPHP

Powered by MindTouch Core