laruence / taint

Taint is a PHP extension, used for detecting XSS codes
Other
611 stars 128 forks source link

PHP Startup: taint: Unable to initialize module (PHP5.4) #15

Closed star001007 closed 10 years ago

star001007 commented 10 years ago

鸟哥,报错了 版本: PHP 5.4.27 (cli) (built: Apr 9 2014 13:17:08) Linux star-virtual-machine 3.2.0-64-generic-pae #97-Ubuntu SMP Wed Jun 4 22:22:15 UTC 2014 i686 i686 i386 GNU/Linux

Warning: PHP Startup: taint: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20100525 These options need to match in Unknown on line 0

star001007 commented 10 years ago

解决了,是php多版本的问题。.configure 时指定你的php-config 路径就好了。 --with-php-config=[Insert path to proper php-config here]

如:./configure --with-php-config=/usr/local/php5/bin/php-config5