Tag: 系统调用

从php shell_exec()运行节点js

您好,我打碎了一些文件来parsing由node jsparsing的文件。 目前我从terminal运行它作为node app.js 我需要从我的PHP模型中调用它。 我在想shell_exec()函数将有所帮助。 我试过这样 shell_exec('http://172.18.18.219/hrms_work/web/uplodedfiles/test/code4goal-resume-parser/app.js'); 但它不起作用。