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

Allow installing PHP 7.1 on Debian #329

Merged
merged 1 commit into from
Jul 13, 2017
Merged

Conversation

amette
Copy link
Contributor

@amette amette commented Mar 16, 2017

Hi,

this simple patch made installation of PHP 7.1 work for me on Debian 8 Jessie with manually configured https://deb.sury.org/ repositories.

cheers
amette

@@ -83,7 +83,7 @@
$fpm_service_name = "php${globals_php_version}-fpm"
$ext_tool_enable = "/usr/sbin/phpenmod -v ${globals_php_version}"
$ext_tool_query = "/usr/sbin/phpquery -v ${globals_php_version}"
$package_prefix = 'php7.0-'
$package_prefix = "php${globals_php_version}-"
Copy link
Contributor

Choose a reason for hiding this comment

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

This will break for php 5, where $default_php_version is "5.x" and no just "5" :/

Copy link
Contributor

Choose a reason for hiding this comment

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

@yastupin: It won't - it's in a block of code that specifically targets versions beginning with 7.

@yastupin
Copy link
Contributor

Oh right, sorry I read the patch wrong. Thank you!

@yastupin yastupin merged commit 7429e50 into voxpupuli:master Jul 13, 2017
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

3 participants