PHPUnit Segmentation fault

后端 未结 13 782
故里飘歌
故里飘歌 2020-12-28 14:56

When a PHPUnit test fails normally on my dev box (Linux Mint), it causes a \"Segmentation Fault\" on my Continous Integration box (Centos). Both machines are running the sam

13条回答
  •  长发绾君心
    2020-12-28 15:35

    The following fixed a similar issue for me (when the output of the gdb backtrace included libcurl.so and libcrypto.so):

    disable /etc/php.d/pgsql.ini:

    ; Enable pgsql extension module
    ; extension=pgsql.so
    

    edit /etc/php.d/curl.ini to ensure that pgsql.so is included before curl:

    ; Enable curl extension module
    extension=pgsql.so
    extension=curl.so
    curl.cainfo=/home/statcounter/include/config/cacert.pem
    

提交回复
热议问题