Category : swoole

I’ve been investigating Laravel Octane as a possibility for performance improvements in an existing Laravel application and have found every 4000-5000 requests up to 15 requests are returning as failed. I currently have the laravel application deployed and running octane through supervisor with the following configuration in /etc/supervisor/conf.d/laravel-octane-worker.conf : process_name=%(program_name)s_%(process_num)02d command=php /var/www/html/artisan octane:start –server=swoole –workers=8 ..

Read more

Octane Version: 1.0.8 Laravel Version: 8.49.2 PHP Version: 8.0.8 Server & Version: Swoole 4 Database Driver & Version: PostgreSQL 12 On local (Ubuntu 20.04) the reload works well, but on the server (Centos 8) the reload did not reflect the changes. After executing the octane:reload command, it shows INFO Application change detected. Restarting workers … ..

Read more

Trying to setup a Laravel local dev environment on my Mac M1 using Docker. I followed the instructions on Laravels installation page, running curl -s "https://laravel.build/example-app" | bash And then ./vendor/bin/sail up Error log Building laravel.test [+] Building 2.6s (10/17) => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 37B 0.0s => ..

Read more

i made a project with custom auth and it works perfectly, then i needed to integrate swoole for api socket purposes. after i added my middleware to swoole_websocket middleware swoole_websocket.php then i try to serve the swoole http, it return this error, any route under admin just keep loading till timeout i no longer can ..

Read more

hi i have problem enabling https on swoole with laravel api when i’m tryping to sending api request through http it works well but i can’t through https : curl http://127.0.0.1:8008/api/v1/search?include=searchplace it works curl https://127.0.0.1:8008/api/v1/search?include=searchplace not work hosting application on apache2 ubuntu. php –ri swoole Swoole => enabled Author => Swoole Team <[email protected]> Version => ..

Read more