guanguans / music-dl

Music Searcher and Downloader. - 音乐搜索下载器。
https://guanguans.github.io/music-dl
MIT License
654 stars 62 forks source link

CentOS 7 无法运行 #790

Closed hczs closed 3 weeks ago

hczs commented 3 weeks ago

Describe the bug music-dl 无法正常工作

To Reproduce

  1. 执行 music-dl 文件,出现以下错误
  2. In Spinner.php line 155: Call to undefined function Laravel\Prompts\posix_kill()

Expected behavior 希望出现搜索结果,但是只有一行报错

Screenshots image

Additional context 这是 php 的版本信息,我还需要安装其他的什么依赖吗? image

create-issue-branch[bot] commented 3 weeks ago

Branch issue-790-CentOS_7_无法运行 created!

guanguans commented 3 weeks ago

@hczs 检查一下是否安装 posix 扩展。

php -m | grep posix
Issues-translate-bot commented 3 weeks ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@hczs Check if the posix extension is installed.

php -m | grep posix
hczs commented 3 weeks ago

@hczs 检查一下是否安装 posix 扩展。

php -m | grep posix

感谢回复!安装上相关依赖就可以正常使用了!

Issues-translate-bot commented 3 weeks ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@hczs Check if the posix extension is installed.

php -m | grep posix

Thanks for the reply! Install the relevant dependencies and you can use it normally!