Home >Backend Development >PHP Tutorial >maybe not a PHP library

maybe not a PHP library

WBOY
WBOYOriginal
2016-06-23 13:48:191728browse

PHP Warning:  PHP Startup: Invalid library (maybe not a PHP library) '/usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/pcntl.so' in Unknown on line 0
memcache
[root@iZ23340us9qZ pcntl]# cd /usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/
[root@iZ23340us9qZ no-debug-non-zts-20090626]# ls
libevent.so  memcache.so  pcntl.so  sysvmsg.so  sysvshm.so
[root@iZ23340us9qZ no-debug-non-zts-20090626]# 
这个是什么错误  

php.ini extension=/usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/pcntl.so路径又没错。。。


回复讨论(解决方案)

这个扩展是自己编译的吗?加载不了吧...不支持

你通过phpize方式,重新编译下。

你通过phpize方式,重新编译下。

我试过没用得 太奇怪的 这个是多线程模块 centos应该支持的呀
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn