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

Unable to locate package php7.4-swoole #1

Closed
darshithedpara opened this issue Nov 6, 2024 · 6 comments · Fixed by #2 or #3
Closed

Unable to locate package php7.4-swoole #1

darshithedpara opened this issue Nov 6, 2024 · 6 comments · Fixed by #2 or #3
Assignees
Labels
enhancement New feature or request

Comments

@darshithedpara
Copy link

darshithedpara commented Nov 6, 2024

First of all, this is so cool 🎉
I believe Laravel should use something like this instead of https://php.new which provides only php8.3

I was installing php7.4 but it ended with errors.

image

@darshithedpara darshithedpara added the bug Something isn't working label Nov 6, 2024
@mhdcodes
Copy link
Owner

mhdcodes commented Nov 7, 2024

hey thanks @darshithedpara for using this tool! currently, all php presets only install default extensions; no framework-specific extensions are included to keep it minimal. we’ll add a laravel-specific preset in the future to install everything needed for laravel.

in the meanwhile you can try to install your extension manualy:

sudo apt install php7.4-swoole

@mhdcodes mhdcodes added enhancement New feature or request and removed bug Something isn't working labels Nov 7, 2024
@mhdcodes mhdcodes linked a pull request Nov 9, 2024 that will close this issue
@mhdcodes
Copy link
Owner

mhdcodes commented Nov 9, 2024

Laravel preset has been added:

curl -fsSL https://tryphp.dev/presets/laravel | bash

@mhdcodes mhdcodes closed this as completed Nov 9, 2024
@darshithedpara
Copy link
Author

darshithedpara commented Nov 9, 2024

Wow so fast 🔥

curl -fsSL https://tryphp.dev/7.4/install.sh | bash

but this is broken FYI.

@mhdcodes
Copy link
Owner

mhdcodes commented Nov 9, 2024

Wow so fast 🔥

curl -fsSL https://tryphp.dev/7.4/install.sh | bash

but this is broken FYI.

would you illustrate more ?

@darshithedpara
Copy link
Author

I tried in fresh installation.

OS : Ubuntu noble 24.04 x86_64
Kernel : Linux 6.8.0-48-generic

curl -fsSL https://tryphp.dev/7.4/install.sh | bash

The command ends with the below output.

INFO Installing PHP and extensions...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package php7.4-swoole
E: Couldn't find any package by glob 'php7.4-swoole'
E: Couldn't find any package by regex 'php7.4-swoole'

@mhdcodes
Copy link
Owner

hmm indeed the PHP presets include php7.4-swoole by default I will remove it and keep it minimal.

@mhdcodes mhdcodes reopened this Nov 10, 2024
@mhdcodes mhdcodes linked a pull request Nov 10, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants