我的 Wamp 服务器在最新版本的 PHP 上运行良好。但是我需要使用旧版本的 PHP 运行它,当我切换到旧版本时,Apache 不会启动并且 Wamp 图标仍然是橙色。
Apache version: 2.2.22
PHP version that is working: 5.3.13
desired PHP version (not working): 5.2.8
Wamp server version 2.2
错误日志:
[Tue Sep 24 17:15:26 2013] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Tue Sep 24 17:15:26 2013] [notice] Child 8356: Exit event signaled. Child process is ending.
[Tue Sep 24 17:15:27 2013] [notice] Child 8356: Released the start mutex
[Tue Sep 24 17:15:28 2013] [notice] Child 8356: All worker threads have exited.
[Tue Sep 24 17:15:28 2013] [notice] Child 8356: Child process is exiting
[Tue Sep 24 17:15:28 2013] [notice] Parent: Child process exited successfully.
[Tue Sep 24 17:15:34 2013] [notice] Apache/2.2.22 (Win64) PHP/5.3.13 configured -- resuming normal operations
[Tue Sep 24 17:15:34 2013] [notice] Server built: May 13 2012 19:41:17
[Tue Sep 24 17:15:34 2013] [notice] Parent: Created child process 10372
httpd.exe: Syntax error on line 127 of C:/wamp/bin/apache/apache2.2.22/conf/httpd.conf: Cannot load C:/wamp/bin/php/php5.2.8/php5apache2_2.dll into server: %1 \xe4r Not a valid Win32-program.
[Tue Sep 24 17:15:34 2013] [crit] (OS 6)Referensen (handle) är felaktig. : master_main: create child process failed. Exiting.