Please answer these questions before submitting your issue.
What did you do? If possible, provide a simple script for reproducing the error.
run command
sudo make test
out:
Fatal error: Uncaught Error: Failed opening required '/usr/local/src/swoole-src-5.1.1/tests/include/lib/vendor/autoload.php' (include_path='.:/usr/local/php/lib/php') in /usr/local/src/swoole-src-5.1.1/tests/include/bootstrap.php:53
Stack trace:
#0 /usr/local/src/swoole-src-5.1.1/tests/swoole_pdo_sqlite/bug33841.skip.php(2): require()
#1 {main}
thrown in /usr/local/src/swoole-src-5.1.1/tests/include/bootstrap.php on line 53 [/usr/local/src/swoole-src-5.1.1/tests/swoole_pdo_sqlite/pdo_sqlite_tostring_exception.phpt]
Warning: require(/usr/local/src/swoole-src-5.1.1/tests/include/lib/vendor/autoload.php): Failed to open stream: No such file or directory in /usr/local/src/swoole-src-5.1.1/tests/include/bootstrap.php on line 53
Fatal error: Uncaught Error: Failed opening required '/usr/local/src/swoole-src-5.1.1/tests/include/lib/vendor/autoload.php' (include_path='.:/usr/local/php/lib/php') in /usr/local/src/swoole-src-5.1.1/tests/include/bootstrap.php:53
Stack trace:
#0 /usr/local/src/swoole-src-5.1.1/tests/swoole_pdo_sqlite/bug33841.skip.php(2): require()
#1 {main}
thrown in /usr/local/src/swoole-src-5.1.1/tests/include/bootstrap.php on line 53 [/usr/local/src/swoole-src-5.1.1/tests/swoole_pdo_sqlite/pdo_sqlite_transaction.phpt]
The error content is basically the same, the change is the **bug*.skip.php file
What did you expect to see?
no error
What did you see instead?
What version of Swoole are you using (show your php --ri swoole)?
install swoole 5.1.1
What is your machine environment used (show your uname -a & php -v & gcc -v) ?
uname -a
Linux * #1 SMP Mon Nov 1 20:48:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
php -v
PHP 8.2.5 (cli) (built: May 9 2023 03:59:58) (ZTS)
Copyright (c) The PHP Group
Zend Engine v4.2.5, Copyright (c) Zend Technologies
with Zend OPcache v8.2.5, Copyright (c), by Zend Technologies
Please answer these questions before submitting your issue.
run command
out:
The error content is basically the same, the change is the **bug*.skip.php file
no error
What did you see instead?
What version of Swoole are you using (show your
php --ri swoole
)? install swoole 5.1.1What is your machine environment used (show your
uname -a
&php -v
&gcc -v
) ? uname -aphp -v
gcc -v