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

Resolve issues when PHP feature is enabled #1878

Merged

Conversation

Sn0wCrack
Copy link
Contributor

@Sn0wCrack Sn0wCrack commented May 24, 2023

This should resolve the majority of issues people are having when these PHP feature installs occur.

Essentially one of these packages (in my case it's always basically php-fpm that is the culprit) is getting upgraded as part of the install and it's stalling on a dpkg cofigure prompt to keep a particular config file (in my case www.conf):

Example of this here:

    homestead: Configuration file '/etc/php/8.1/fpm/pool.d/www.conf'
    homestead:  ==> Modified (by you or by a script) since installation.
    homestead:  ==> Package distributor has shipped an updated version.
    homestead:    What would you like to do about it ?  Your options are:
    homestead:     Y or I  : install the package maintainer's version
    homestead:     N or O  : keep your currently-installed version
    homestead:       D     : show the differences between the versions
    homestead:       Z     : start a shell to examine the situation
    homestead:  The default action is to keep your current version.
    homestead: *** www.conf (Y/I/N/O/D/Z) [default=N] ?
    homestead: Configuration file '/etc/php/8.1/fpm/pool.d/www.conf'
    homestead:  ==> Modified (by you or by a script) since installation.
    homestead:  ==> Package distributor has shipped an updated version.
    homestead:    What would you like to do about it ?  Your options are:
    homestead:     Y or I  : install the package maintainer's version
    homestead:     N or O  : keep your currently-installed version
    homestead:       D     : show the differences between the versions
    homestead:       Z     : start a shell to examine the situation
    homestead:  The default action is to keep your current version.
    homestead: *** www.conf (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package php8.1-fpm (--configure):
    homestead:  end of file on stdin at conffile prompt

This should use the default value if specified by the package maintainer or the existing config file if none is specified.

this should resolve the majority of issues people are having with the php installs

essentially one of these packages is getting upgraded as part of the install and it's stalling on a dpkg cofigure prompt to keep a particular config file

this should use the default if specified by the package maintainer or the existing config file if none is specified.
Copy link
Contributor

@svpernova09 svpernova09 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@svpernova09 svpernova09 merged commit fdf957e into laravel:main Aug 22, 2023
4 checks passed
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.

None yet

2 participants