Questions tagged [octane]
21 questions
0
votes
0 answers
There was an error installing Swoole php-cp, how can I fix the problem?
Have error building of
swoole/php-cp
Ubuntu 20.04
PHP7.4
How can fix this error?

Tilon UZ
- 1
- 2
0
votes
1 answer
Laravel ShouldQueue returns incorrect result on swoole server
Description
When calling a service defined as a facade in a Job implemented as ShouldQueue, an incorrect result is displayed.
Octane Version: 1.2.12
Laravel Version: 9.9.0
PHP Version: 8.1.6
Server & Version: Swoole 4.8.5
Steps To…

dvlpr91
- 11
- 3
0
votes
0 answers
PHP Generate Dynamic Function calls array
I am using php laravel threading using octane and swoole server for concurrent processing.
when I pass static process function list as below it works.
$ArrayProcess = [
fn () => $this->getPropertyData(),
fn () =>…

Chetan Nage
- 1
- 1
0
votes
1 answer
Laravel/Octane: How to reset route controllers' state
In Laravel v9/Octane/Swoole, I do have private properties in route controllers, e.g.
namespace App\Http\Controllers\API;
use App\Http\Controllers\Controller;
class SignupController extends Controller
{
/** @var ?\App\SignupCode A verification…
0
votes
1 answer
Unable to Launch Octane RoadRunner Server for PHP 8.0
Octane is installed with roadrunner while following the official guide, on the Ubuntu 18.04 server. Each step works as expected until the server is started:
php artisan octane:start --server=roadrunner --port=8181
Then, an error is received and the…

amsh
- 3,097
- 2
- 12
- 26
0
votes
1 answer
file_get_contents('php://input') not working on Laravel+Octane / Swoole
I'm migrating from Laravel 8 to Laravel 8 + Octane / Swoole. All works fine, but php://input always are empty. Also, I check $_POST and $_SERVER values.
file_get_contents('php://input') is used by AWS SNS Message Validator.
Any alterantive to read…

pablorsk
- 3,861
- 1
- 32
- 37