2 Star 6 Fork 0

GaoJiuFeng / EasyWpc

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.en.md

EASY_WPC多进程WINDOWS_PHP_COM扩展

项目介绍

基于C#创建的PHP_Com扩展包,帮助PHP在Windows系统创建多进程,能够脱离终端后台运行PHP命令行应用,支持设置启动参数、常驻运行、运行目录、网域设置、进程密码等常用函数,操作简单,只需要关注异常信息即可。

环境部署

快速上手

(new Wpc())
    // 进程文件
    ->setFile('D:\phpEnv\php\php-70\php.exe');
    // 启动参数
    ->setArgument('D:/1.php')
    // 后台启动
    ->setStyle(0)
    // 工作目录
    ->setWorkDir('D:/')
    // 进程网域
    ->setDomain('xxx')
    // 进程账号
    ->setUsername('392223903')
    // 进程密码
    ->setPassword('123456')
    // 进程启动带窗口
    ->setNoWindow(true);
    // 启动进程
    ->start();

更多方法

  在线阅读更多函数

Repository Comments ( 0 )

Sign in to post a comment

About

PHP多进程COM扩展 expand collapse
C# and 2 more languages
MIT
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
C#
1
https://git.oschina.net/392223903/easy-wpc.git
git@git.oschina.net:392223903/easy-wpc.git
392223903
easy-wpc
EasyWpc
master

Search

161121 f78d6d6f 1850385 154831 86f8c370 1850385