Skip to content
New issue

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

add possibility to launch swoole server with additional php options #570

Conversation

AbdelAbouhassane
Copy link
Contributor

@AbdelAbouhassane AbdelAbouhassane commented Sep 3, 2022

Context

In the StartSwooleCommand, When launching the swoole server, the command takes only the php executable ignoring any custom options that may be necessary on ones environnement.

What did i do

Add optional config to specify any custom options to pass to the php executable

Config Example

'swoole' => [
    'php_options' => [
        '-c',
        '/Library/Application Support/appsolute/MAMP PRO/conf/php8.1.1.ini',
    ],
],

@AbdelAbouhassane AbdelAbouhassane changed the title add possibility to launch swoole server with php options add possibility to launch swoole server with additional php options Sep 3, 2022
@taylorotwell taylorotwell merged commit b271ea9 into laravel:1.x Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants