当apache启动失败,非端口和其他原因时,可以尝试删除php.ini中的[eaccelerator]项的配置,如下所示:

 
  
  1. [eaccelerator] 
  2. zend_extension_ts="C:/APMServ5.2.6/zend/eAccelerator/eaccelerator.dll" 
  3. eaccelerator.shm_size="32" 
  4. eaccelerator.cache_dir="C:/APMServ5.2.6/tmp/eaccelerator/" 
  5. eaccelerator.enable="1" 
  6. eaccelerator.optimizer="1" 
  7. eaccelerator.check_mtime="1" 
  8. eaccelerator.debug="0" 
  9. eaccelerator.filter="" 
  10. eaccelerator.shm_max="0" 
  11. eaccelerator.shm_ttl="0" 
  12. eaccelerator.shm_prune_period="0"   
  13. eaccelerator.shm_only="0" 
  14. eaccelerator.compress="1" 
  15. eaccelerator.compress_level="9" 
  16. eaccelerator.keys = "shm" 
  17. eaccelerator.sessions = "shm" 


然后再启动