原文:https://www.cnblogs.com/charleszhou/archive/2010/11/07/1652440.html?login=1
安装xampp的时候遇到apache无法启动的问题。有说端口被占用的,打开任务管理器发现也没有被占用。
错误日志(\xampp\apache\logs\error.log)有如下提示:
[Wed Jan 20 14:47:27 2010] [notice] Digest: generating secret for digest authentication
...
[Wed Jan 20 14:47:27 2010] [notice] Digest: done
[Wed Jan 20 14:47:27 2010] [notice] Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14
OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4
Perl/v5.10.1 configured -- resuming normal operations
[Wed Jan 20 14:47:27 2010] [notice] Server built: Nov 11 2009 14:29:03
[Wed Jan 20 14:47:27 2010] [crit] (22)Invalid argument: Parent: Failed to create the
child process.
[Wed Jan 20 14:47:27 2010] [crit] master_main: create child process failed. Exiting.
[Wed Jan 20 14:47:27 2010] [notice] Parent: Forcing termination of child process 36
解决办法如下:
1.在XAMPP Control Panel点Setup,弹出命令行;
2.选择6回车,enable mob_perl。
解决