在Debian 8.5 x64上编译PHP v.5.6.24 失败,并出现以下错误。
如何使用 opcache 模块修复此问题或如何在编译之前在PHP“autoconf”中禁用它?
全力以赴 / bin / bash / home / bob / A_php5 / php-src / libtool --silent --preserve-dup-deps --mode = link cc -DPHP_ATOM_INC -I / home / bob / A_php5 / php-src / include -I / home / bob / A_php5 / php-src / main -I / home / bob / A_php5 / php-src -I / home / bob / A_php5 / php-src / ext / date / lib -I / usr / include / libxml2 -I / home / bob / A_php5 / php-src / ext / sqlite3 / libsqlite -I / home / bob / A_php5 / php-src / TSRM -I / home / bob / A_php5 / php-src / Zend -I / usr / include -g -O2 -fvisibility = hidden -DZEND_SIGNALS -o ext / opcache / opcache.la -export-dynamic -avoid-version -prefer-pic -module -rpath / home / bob / A_php5 / php-src / modules ext /opcache/ZendAccelerator.lo ext / opcache / zend_accelerator_blacklist.lo ext / opcache / zend_accelerator_debug.lo ext / opcache / zend_accelerator_hash.lo ext / opcache / zend_accelerator_module.lo ext / opcache / zend_persist.lo ext / opcache / zend_persist_calc.lo ext / opcache / zend_file_cache.lo ext / opcache / zend_shared_alloc.lo ext / opcache / zend_accelerator_util_funcs.lo ext / opcache / shared_alloc_shm.lo ext / opcache / shared_alloc_mmap.lo ext / opcache / shared_alloc_po six.lo ext / opcache / Optimizer / zend_optimizer.lo ext / opcache / Optimizer / pass1_5.lo ext / opcache / Optimizer / pass2.lo ext / opcache / Optimizer / pass3.lo ext / opcache / Optimizer / optimize_func_calls.lo ext / opcache / Optimizer / block_pass.lo ext / opcache / Optimizer / optimize_temp_vars_5.lo ext / opcache / Optimizer / nop_removal.lo ext / opcache / Optimizer / compact_literals.lo ext / opcache / Optimizer / zend_cfg.lo ext / opcache / Optimizer / zend_dfg .lo ext / opcache / Optimizer / dfa_pass.lo ext / opcache / Optimizer / zend_ssa.lo ext / opcache / Optimizer / zend_inference.lo ext / opcache / Optimizer / zend_func_info.lo ext / opcache / Optimizer / zend_call_graph.lo ext / opcache /Optimizer/zend_dump.lo 重装web服务器:apache2失败了! Apache2没有运行...(警告)。 Makefile:870:目标'ext / opcache / opcache.la'的配方失败 make:*** [ext / opcache / opcache.la]错误1