美文网首页程序员工具箱
php 7.0.33 intl ext install note

php 7.0.33 intl ext install note

作者: 许一沐 | 来源:发表于2023-04-11 13:01 被阅读0次

    https://stackoverflow.com/questions/48135890/cant-install-php-intl-extension-on-macosx

    https://stackoverflow.com/questions/33259191/installing-libicu-dev-on-mac

    https://segmentfault.com/q/1010000010678737

    brew install icu4c
    /usr/local/installApp/php70/bin/phpize
    ./configure --enable-intl --with-php-config=/usr/local/installApp/php70/bin/php-config --with-icu-dir=/usr/local/Cellar/icu4c/68.2/ CXXFLAGS=" -g -O2 -std=c++11"
    
    

    修改 Makefile 文件

    CXXFLAGS = -g -O2 -std=c++11
    CPPFLAGS = -DHAVE_CONFIG_H -DU_USING_ICU_NAMESPACE=1
    

    相关文章

      网友评论

        本文标题:php 7.0.33 intl ext install note

        本文链接:https://www.haomeiwen.com/subject/nlygddtx.html