Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/280.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/csharp-4.0/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在sapi/cli/PHP中安装PHP失败_Php - Fatal编程技术网

在sapi/cli/PHP中安装PHP失败

在sapi/cli/PHP中安装PHP失败,php,Php,无论何时运行make,我都会收到此错误。尝试“brew安装php”,尝试从源代码处编译和安装。有什么建议吗?如果您使用回购的PHP公式,这是一个已知的问题。configure似乎忽略了我们传递给它的libxml2configure(它使用自制libxml2公式),并坚持使用系统libxml2 确保检查上述回购协议中的问题,并将其张贴在那里,以便我们提供支持 有关此问题,请参阅:也有类似的问题,在make解决此错误之前使用make clean。我也有同样的问题make clean做了这个把戏您能否

无论何时运行make,我都会收到此错误。尝试“brew安装php”,尝试从源代码处编译和安装。有什么建议吗?

如果您使用回购的PHP公式,这是一个已知的问题。configure似乎忽略了我们传递给它的
libxml2
configure(它使用自制libxml2公式),并坚持使用系统
libxml2

确保检查上述回购协议中的问题,并将其张贴在那里,以便我们提供支持


有关此问题,请参阅:

也有类似的问题,在
make
解决此错误之前使用
make clean

我也有同样的问题make clean做了这个把戏

您能否在此错误消息的上方和下方发布大约10行内容,这将有助于获取一些上下文。“\u xmltextreaderreaderreadnnerxml”,引用自:php_xmlreader.o“_xmlTextWriterEndElement中的_zif_xmlwriter_end_元素php_xmlwriter.o _zif_xmlwriter_write_元素php_xmlwriter.o _zif_xmlwriter_write_元素php_xmlwriter.o“_xmlrelaxangfreedctxt”,引用自:_dom_document_relaxNG_validate in document.o ld:symbol未找到collect2:ld返回1退出状态make:**[sapi/cli/php]错误1错误似乎已更改…如果您能将其放在主帖子中,那将是非常棒的,应该是可接受的答案!非常好,谢谢!
  ...
  ...
  "_xmlTextReaderNodeType", referenced from:
      _zm_startup_xmlreader in php_xmlreader.o
  "_xmlParseURIReference", referenced from:
      __dom_get_valid_file_path in document.o
      __xmlreader_get_valid_file_path in php_xmlreader.o
      _zif_xmlwriter_open_uri in php_xmlwriter.o
  "_valuePop", referenced from:
      _dom_xpath_ext_function_php in xpath.o
      _dom_xpath_ext_function_php in xpath.o
      _dom_xpath_ext_function_php in xpath.o
      _xsl_ext_function_php in xsltprocessor.o
      _xsl_ext_function_php in xsltprocessor.o
      _xsl_ext_function_php in xsltprocessor.o
  "_xmlTextReaderConstXmlLang", referenced from:
      _zm_startup_xmlreader in php_xmlreader.o
  "_xmlGetNodePath", referenced from:
      _zim_domnode_getNodePath in node.o
  "_xmlTextReaderReadInnerXml", referenced from:
      _zim_xmlreader_readInnerXml in php_xmlreader.o  "_xmlTextWriterEndElement", referenced from:
      _zif_xmlwriter_end_element in php_xmlwriter.o
      _zif_xmlwriter_write_element_ns in php_xmlwriter.o
      _zif_xmlwriter_write_element in php_xmlwriter.o
  "_xmlRelaxNGFreeValidCtxt", referenced from:
      __dom_document_relaxNG_validate in document.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1