安裝 XAMPP 後 Apache 閃爍 Running 後隨即停止,錯誤日誌顯示:
[crit] (22)Invalid argument: Parent: Failed to create the child process.
[crit] (OS 6)句柄無效。 : master_main: create child process failed. Exiting.
Windows 7 環境下 mod_perl 模組與 Apache 進程模型不兼容,導致子進程創建失敗。
編輯 httpd.conf,註釋掉 Perl 模組載入行:
# Perl settings
#Include "conf/extra/httpd-perl.conf"
保存後重啟 Apache 即可正常運行。
mod_webdav)若導致穩定性問題亦可嘗試禁用