We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我使用php 8.2和thinkphp8.0,命令行输入能正常启动,但是网页一访问这个链接就报错误,不知道是什么问题
PS D:\project_php\outdoors> php -c cli-php.ini server.php start Adapterman v0.6.1 OK ---------------------------------------------- WORKERMAN ----------------------------------------------- Workerman version:4.1.13 PHP version:8.2.3 ----------------------------------------------- WORKERS ------------------------------------------------ worker listen processes status AdapterMan http://127.0.0.1:12345 1 [ok] Error: Call to undefined function run() in D:\project_php\outdoors\server.php:21 Stack trace: #0 D:\project_php\outdoors\vendor\workerman\workerman\Connection\TcpConnection.php(646): {closure}(Object(Workerman\Connection\TcpConnection), Array) #1 D:\project_php\outdoors\vendor\workerman\workerman\Events\Select.php(311): Workerman\Connection\TcpConnection->baseRead(Resource id #47) #2 D:\project_php\outdoors\vendor\workerman\workerman\Worker.php(1485): Workerman\Events\Select->loop() #3 D:\project_php\outdoors\vendor\workerman\workerman\Worker.php(1402): Workerman\Worker::forkWorkersForWindows() #4 D:\project_php\outdoors\vendor\workerman\workerman\Worker.php(560): Workerman\Worker::forkWorkers() #5 D:\project_php\outdoors\server.php(24): Workerman\Worker::runAll() #6 {main}
The text was updated successfully, but these errors were encountered:
It's really clear the error
Error: Call to undefined function run() in D:\project_php\outdoors\server.php:21 Stack trace:
Do you load the think.php file in the Server.php ? https://github.com/joanhey/AdapterMan/blob/master/src/frameworks/think.php
Sorry, something went wrong.
No branches or pull requests
我使用php 8.2和thinkphp8.0,命令行输入能正常启动,但是网页一访问这个链接就报错误,不知道是什么问题
PS D:\project_php\outdoors> php -c cli-php.ini server.php start
Adapterman v0.6.1 OK
---------------------------------------------- WORKERMAN -----------------------------------------------
Workerman version:4.1.13 PHP version:8.2.3
----------------------------------------------- WORKERS ------------------------------------------------
worker listen processes status
AdapterMan http://127.0.0.1:12345 1 [ok]
Error: Call to undefined function run() in D:\project_php\outdoors\server.php:21
Stack trace:
#0 D:\project_php\outdoors\vendor\workerman\workerman\Connection\TcpConnection.php(646): {closure}(Object(Workerman\Connection\TcpConnection), Array)
#1 D:\project_php\outdoors\vendor\workerman\workerman\Events\Select.php(311): Workerman\Connection\TcpConnection->baseRead(Resource id #47)
#2 D:\project_php\outdoors\vendor\workerman\workerman\Worker.php(1485): Workerman\Events\Select->loop()
#3 D:\project_php\outdoors\vendor\workerman\workerman\Worker.php(1402): Workerman\Worker::forkWorkersForWindows()
#4 D:\project_php\outdoors\vendor\workerman\workerman\Worker.php(560): Workerman\Worker::forkWorkers()
#5 D:\project_php\outdoors\server.php(24): Workerman\Worker::runAll()
#6 {main}
The text was updated successfully, but these errors were encountered: