当apache启动失败,非端口和其他原因时,可以尝试删除php.ini中的[eaccelerator]项的配置,如下所示:
- [eaccelerator]
- zend_extension_ts="C:/APMServ5.2.6/zend/eAccelerator/eaccelerator.dll"
- eaccelerator.shm_size="32"
- eaccelerator.cache_dir="C:/APMServ5.2.6/tmp/eaccelerator/"
- eaccelerator.enable="1"
- eaccelerator.optimizer="1"
- eaccelerator.check_mtime="1"
- eaccelerator.debug="0"
- eaccelerator.filter=""
- eaccelerator.shm_max="0"
- eaccelerator.shm_ttl="0"
- eaccelerator.shm_prune_period="0"
- eaccelerator.shm_only="0"
- eaccelerator.compress="1"
- eaccelerator.compress_level="9"
- eaccelerator.keys = "shm"
- eaccelerator.sessions = "shm"
然后再启动
转载于:https://blog.51cto.com/venglu/1185186