时间:2021-07-01 10:21:17 帮助过:15人阅读
源码包里面有例子,像这样执行:
/usr/local/php-threads/bin/php AdvancedSynchronization.php
[plain]
Process: running
ScopeTest: 140703850592000 running
ScopeTest2: 140703839512320 running
ScopeTest2: 140703839512320 working ...
ScopeTest2: 140703839512320 notified: 1
Process: notifying 140703839512320: 1
ScopeTest: 140703850592000 notified: 1
Process: notifying 140703850592000: 1
通过apache执行的还没有试过,因为我不想破坏现有的php环境,而且我也不打算在非cli模式下执行。
http://www.bkjia.com/PHPjc/477965.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/477965.htmlTechArticle[plain] #如果你的autoconfig版本高于2.59,则只能安装php5.4 #否则你只可以安装5.3.17。如果知道你的autoconf的版本如果你已经安装了php.5.4那么,你...