2009-11-06 90 views
-2

真煩人!如何在安裝zend內核後襬脫這些警告?

PHP Warning: PHP Startup: bcmath: Unable to initialize module 
Module compiled with module API=20060613, debug=0, thread-safety=0 
PHP compiled with module API=20060613, debug=0, thread-safety=1 
These options need to match 
in Unknown on line 0 
PHP Warning: PHP Startup: curl: Unable to initialize module 
Module compiled with module API=20060613, debug=0, thread-safety=0 
PHP compiled with module API=20060613, debug=0, thread-safety=1 
These options need to match 
in Unknown on line 0 
PHP Warning: PHP Startup: gd: Unable to initialize module 
Module compiled with module API=20060613, debug=0, thread-safety=0 
PHP compiled with module API=20060613, debug=0, thread-safety=1 
These options need to match 
in Unknown on line 0 
PHP Warning: PHP Startup: imap: Unable to initialize module 
Module compiled with module API=20060613, debug=0, thread-safety=0 
PHP compiled with module API=20060613, debug=0, thread-safety=1 
These options need to match 
in Unknown on line 0 
PHP Warning: PHP Startup: mbstring: Unable to initialize module 
Module compiled with module API=20060613, debug=0, thread-safety=0 
PHP compiled with module API=20060613, debug=0, thread-safety=1 
These options need to match 
in Unknown on line 0 
PHP Warning: PHP Startup: soap: Unable to initialize module 
Module compiled with module API=20060613, debug=0, thread-safety=0 
PHP compiled with module API=20060613, debug=0, thread-safety=1 
These options need to match 
in Unknown on line 0 
PHP Warning: PHP Startup: sockets: Unable to initialize module 
Module compiled with module API=20060613, debug=0, thread-safety=0 
PHP compiled with module API=20060613, debug=0, thread-safety=1 
These options need to match 
in Unknown on line 0 
PHP Warning: PHP Startup: mysqli: Unable to initialize module 
Module compiled with module API=20060613, debug=0, thread-safety=0 
PHP compiled with module API=20060613, debug=0, thread-safety=1 
These options need to match 
in Unknown on line 0 
PHP Warning: PHP Startup: mysql: Unable to initialize module 
Module compiled with module API=20060613, debug=0, thread-safety=0 
PHP compiled with module API=20060613, debug=0, thread-safety=1 
These options need to match 
in Unknown on line 0 
PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module 
Module compiled with module API=20060613, debug=0, thread-safety=0 
PHP compiled with module API=20060613, debug=0, thread-safety=1 
These options need to match 
in Unknown on line 0 
PHP Warning: PHP Startup: pdo_pgsql: Unable to initialize module 
Module compiled with module API=20060613, debug=0, thread-safety=0 
PHP compiled with module API=20060613, debug=0, thread-safety=1 
These options need to match 
in Unknown on line 0 
PHP Warning: PHP Startup: pgsql: Unable to initialize module 
Module compiled with module API=20060613, debug=0, thread-safety=0 
PHP compiled with module API=20060613, debug=0, thread-safety=1 
These options need to match 
in Unknown on line 0 
^C 

回答

0

此問題已被提問。您正在嘗試將非線程安全的擴展加載到PHP中,該擴展是使用線程安全性編譯的。重新編譯PHP或模塊。

0

錯誤是說 模塊模塊具有線程安全性= 0 而PHP具有線程安全性= 1並且這兩個值應匹配。

線程安全的編譯選項應該是相同的。