2016-09-30 85 views
0

我用PHP 7.0.11做了一個PHP擴展。如何在不調試的情況下編譯PHP擴展?

但這PHP擴展不能如下加載:

[[email protected] ~]# php -v 
PHP Warning: PHP Startup: xxxxx_library: Unable to initialize module 
Module compiled with build ID=API20151012,NTS,debug 
PHP compiled with build ID=API20151012,NTS 
These options need to match 
in Unknown on line 0 

如何編譯PHP擴展沒有調試?

回答

2

我自己解決了這個問題。 我用php的調試模式做了這個php擴展。 之後,我沒有調試安裝了PHP。 帶調試的緩存文件已保留。 因此,我跑了「make clean all」和「make install」。 謝謝。

相關問題