zoukankan      html  css  js  c++  java
  • PHP7安装问题解决

    ext/standard/info.o: In function `php_info_print_request_uri’:
    /root/php-5.4.16/ext/standard/info.c:97: undefined reference to `sapi_globals’
    ext/standard/info.o: In function `php_print_gpcse_array’:
    /root/php-5.4.16/ext/standard/info.c:209: undefined reference to `executor_globals’
    ext/standard/info.o: In function `php_print_info’:
    /root/php-5.4.16/ext/standard/info.c:874: undefined reference to `executor_globals’
    /root/php-5.4.16/ext/standard/info.c:877: undefined reference to `executor_globals’
    /root/php-5.4.16/ext/standard/info.c:880: undefined reference to `executor_globals’
    /root/php-5.4.16/ext/standard/info.c:883: undefined reference to `executor_globals’
    collect2: ld returned 1 exit status
    make: *** [sapi/cli/php] 错误 1

    出现这样的错误信息可能是以前用不同的参数编译过PHP

    解决方法:执行make clean删除上次的编译结果,然后再重新编译就OK了。

    要在PHP配置openssl 使用了1.0.1r版本 成功。1.0.2f版本尝试不成功,原因不详。

    其中安装配置openssl时要用  ./config shared

  • 相关阅读:
    CentOS 7 安装MySQL 5.7
    Introduction to BGP (4)
    Introduction to BGP (3)
    Introduction to BGP (2)
    Introduction to BGP (1)
    Cisco NAT Fundation
    Linux安装Nginx
    GRE协议学习与练习
    Oracle Study Note : Users and Basic Security
    Oracle Study Note : Tablespace and Data Files
  • 原文地址:https://www.cnblogs.com/moonnight/p/5187535.html
Copyright © 2011-2022 走看看