Adding Gearman to a machine requires two steps: building and starting the daemon and building the PHP extension to match your version of PHP.
向一个机器添加Gearman需要两步:第一步构建并启动这个守护程序,第二步构建与PHP版本相匹配的PHP扩展。
Assuming that you host your PHP applications on a typical LAMP configuration, Gearman requires an additional daemon and a PHP extension.
假设您将PHP应用程序托管在一个典型的LAMP配置上,那么Gearman将需要一个额外的守护程序以及一个PHP扩展。
Using Gearman from PHP is similar to the previous example, except that you create the producer and consumer actors in PHP.
从PHP使用Gearman类似于之前的示例,惟一的区别在于这里是在php内创建producer和consumer。
应用推荐