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

PHP 7.0 #432

Merged
merged 2 commits into from
Jan 17, 2016
Merged

PHP 7.0 #432

merged 2 commits into from
Jan 17, 2016

Conversation

swalkinshaw
Copy link
Member

See #431.

Todo:

  • Xdebug (no official package yet)
  • memcached

@mAAdhaTTah
Copy link
Contributor

Yes! Looking forward to testing this.

@craigpearson
Copy link
Contributor

Forget Christmas and my birthday. This is the only thing I'm looking forward to in life!

@fgilio
Copy link

fgilio commented Dec 9, 2015

Super exited to try it out!

@retlehs retlehs added this to the 1.0.0 milestone Dec 29, 2015
@egamipeaks
Copy link

@swalkinshaw
Copy link
Member Author

@egamipeaks thanks. Updated that and some other old references too.

@swalkinshaw swalkinshaw changed the title [WIP] PHP 7.0 PHP 7.0 Dec 30, 2015
@austinpray
Copy link
Contributor

Gonna spin it up in Intellij to make sure xdebug is good to go

@kalenjohnson
Copy link
Contributor

Don't worry Austin, I gots it. xdebug confirmed installed and working

@austinpray
Copy link
Contributor

xdebug works
image

@swalkinshaw swalkinshaw force-pushed the php-7.0 branch 2 times, most recently from 0891538 to c5e1afc Compare December 30, 2015 19:35
@mAAdhaTTah
Copy link
Contributor

YES! Gonna test this weekend.

@andrewfrankel
Copy link

Tested provisioning, deployments, xdebug, etc. All looks good to me!

@swalkinshaw
Copy link
Member Author

@andrewfrankel thanks for testing!

@andrewfrankel
Copy link

Ran into an issue provisioning a new server on php7 today. Got the error below, and was able to resolve by changing the PPA to repo: "ppa:ondrej/php" (removed 7.0)

TASK: [php | Install PHP 7.0] ************************************************* 
failed: [162.243.131.66] => (item=php7.0-common,php7.0-cli,php7.0-curl,php7.0-dev,php7.0-fpm,php7.0-gd,php7.0-mcrypt,php7.0-mysql,php7.0-opcache) => {"failed": true, "item": "php7.0-common,php7.0-cli,php7.0-curl,php7.0-dev,php7.0-fpm,php7.0-gd,php7.0-mcrypt,php7.0-mysql,php7.0-opcache"}
stderr: E: Unable to correct problems, you have held broken packages.

stdout: Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php7.0-cli : Depends: php7.0-common (>= 7.0.2-2+deb.sury.org~trusty+1) but 7.0.2-1+deb.sury.org~trusty+1 is to be installed
              Recommends: php-readline but it is not going to be installed
 php7.0-dev : Depends: php7.0-common (>= 7.0.2-2+deb.sury.org~trusty+1) but 7.0.2-1+deb.sury.org~trusty+1 is to be installed
              Recommends: dh-php7.0 but it is not installable
              Recommends: pkg-php-tools but it is not going to be installed
 php7.0-fpm : Depends: php7.0-common (>= 7.0.2-2+deb.sury.org~trusty+1) but 7.0.2-1+deb.sury.org~trusty+1 is to be installed

msg: '/usr/bin/apt-get -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" --force-yes  install 'php7.0-common' 'php7.0-cli' 'php7.0-curl' 'php7.0-dev' 'php7.0-fpm' 'php7.0-gd' 'php7.0-mcrypt' 'php7.0-mysql' 'php7.0-opcache'' failed: E: Unable to correct problems, you have held broken packages.

@swalkinshaw
Copy link
Member Author

@andrewfrankel weird, I just tried it again fresh and it all worked. The PPA still exists: https://launchpad.net/~ondrej/+archive/ubuntu/php-7.0

The other one you used is slightly different: https://launchpad.net/~ondrej/+archive/ubuntu/php. It's for "co-installable" 7.0 and 5.6

@andrewfrankel
Copy link

@swalkinshaw, tried again today with the original PPA for dedicate 7.0 and worked fine.

I noticed that yesterday (1/14/2016) the PPA packages were updated to version 7.0.2-2 from 7.0.2-1. Wonder if it was just really bad timing with all the dependancies being updated and when I ran the provision, because those are the exact versions that were throwing conflicts for me.

Anyway, false alarm, thanks for checking!

@QWp6t
Copy link
Member

QWp6t commented Jan 16, 2016

This is working for me. 👍

vagrant@example:~$ php -v
PHP 7.0.1-4+deb.sury.org~trusty+1 (cli) ( NTS )
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
    with Xdebug v2.4.0RC3, Copyright (c) 2002-2015, by Derick Rethans

swalkinshaw added a commit that referenced this pull request Jan 17, 2016
@swalkinshaw swalkinshaw merged commit 11516d1 into master Jan 17, 2016
@swalkinshaw swalkinshaw deleted the php-7.0 branch January 17, 2016 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants