win server 启动报错

Iamhuba

C:\PHPWebChat\GatewayWorker>php Applications\YourApp\start_register.php  Applica
tions\YourApp\start_gateway.php Applications\YourApp\start_businessworker.php
PHP Fatal error:  Class 'GatewayWorker\Register' not found in C:\PHPWebChat\Gate
wayWorker\Applications\YourApp\start_register.php on line 18
C:\PHPWebChat\GatewayWorker>pause
请按任意键继续. . .

2431 2 0
2个回答

Iamhuba

小白求救,非白嫖

  • 暂无评论
walkor 打赏

每个start_*.php都要先载入自动加载文件。
 
require_once __DIR__ . '/../../vendor/autoload.php';
 
 

  • 暂无评论
年代过于久远,无法发表回答
×
🔝