# php7dev Vagrant box

- Thread: https://externals.io/message/81345
- Original archive: https://news-web.php.net/php.internals/81345
- Started by Rasmus Lerdorf on 2015-01-28T22:50:08+00:00
- Messages: 10
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #81345 — Rasmus Lerdorf — 2015-01-28T22:50:08+00:00

URL: https://externals.io/message/81345#81345

As a follow-up to my PHP7 Homework post last week, here is a bit of
spoon-feeding for all you lurkers on this list.

https://atlas.hashicorp.com/rasmus/boxes/php7dev

The description there should be fairly self-explanatory. If you have a
computer running Linux, OSX or Windows and about 4G of disk space, heck
install it on a $5 USB stick, then you don't have any excuses. It will
takes less than 15 minutes of your time, and most of that is waiting for
the download.

Please use it to install your own applications or whatever random PHP
applications out there you can find and help us track down issues. We
have been plagued by bugs being found after initial releases because not
enough people helped test in the past. Let's try to get ahead of them
this time.

-Rasmus

---

## #81349 — Stanislav Malyshev — 2015-01-29T02:01:26+00:00

URL: https://externals.io/message/81345#81349 · In reply to: #81345

Hi!

> As a follow-up to my PHP7 Homework post last week, here is a bit of
> spoon-feeding for all you lurkers on this list.
> 
> https://atlas.hashicorp.com/rasmus/boxes/php7dev

This is great, I was just thinking how I can make myself a Debian
environment to match the CI one, this would work very nicely. Thanks a
lot for making it!

-- 
Stas Malyshev
smalyshev@gmail.com

---

## #81362 — Jan Schneider — 2015-01-29T08:57:24+00:00

URL: https://externals.io/message/81345#81362 · In reply to: #81345

Zitat von Rasmus Lerdorf <rasmus@lerdorf.com>:

> As a follow-up to my PHP7 Homework post last week, here is a bit of
> spoon-feeding for all you lurkers on this list.
>
> https://atlas.hashicorp.com/rasmus/boxes/php7dev
>
> The description there should be fairly self-explanatory. If you have a
> computer running Linux, OSX or Windows and about 4G of disk space, heck
> install it on a $5 USB stick, then you don't have any excuses. It will
> takes less than 15 minutes of your time, and most of that is waiting for
> the download.
>
> Please use it to install your own applications or whatever random PHP
> applications out there you can find and help us track down issues. We
> have been plagued by bugs being found after initial releases because not
> enough people helped test in the past. Let's try to get ahead of them
> this time.
>
> -Rasmus

The first command from your instructions there get me:

$ vagrant box add rasmus/php7dev
This command was not invoked properly. The help for this command is
available below.

-- 
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject

---

## #81363 — Ferenc Kovacs — 2015-01-29T09:12:08+00:00

URL: https://externals.io/message/81345#81363 · In reply to: #81362

>
> Zitat von Rasmus Lerdorf <rasmus@lerdorf.com>:
>
>
>  As a follow-up to my PHP7 Homework post last week, here is a bit of
> > […]
>
> The first command from your instructions there get me:
>
> $ vagrant box add rasmus/php7dev
> This command was not invoked properly. The help for this command is
> available below.
>
>
what version of vagrant are you using? (you can check via vagrant --version)
adding boxes like that (username/boxname format instead of using the full
url for the box) is only supported since vagrant 1.5
if you don't wanna upgrade you could try something like
vagrant box add https://atlas.hashicorp.com/rasmus/boxes/php7dev
vagrant init php7dev
but probably easier to just upgrade


-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu

---

## #81367 — Jan Schneider — 2015-01-29T10:03:45+00:00

URL: https://externals.io/message/81345#81367 · In reply to: #81363

Zitat von Ferenc Kovacs <tyra3l@gmail.com>:

> 
>
> > […]
for
> > […]
not
> > […]
>
>       
>      _what version of vagrant are you using? (you can check via vagrant
> --version)_
>      _adding boxes like that (username/boxname format instead of using
> the full url for the box) is only supported since vagrant 1.5_
>      _if you don't wanna upgrade you could try something like_
>      _vagrant box add https://atlas.hashicorp.com/rasmus/boxes/php7dev _
>      _vagrant init php7dev_
>
> _but probably easier to just upgrade_
>
>      
> _-- _
>     _Ferenc Kovács
> @Tyr43l - http://tyrael.hu_

It's indeed 1.4, but that doesn't work with the full URL either. Upgrading
is the way to go.
-------------------------
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject

---

## #81376 — Ferenc Kovacs — 2015-01-29T12:29:46+00:00

URL: https://externals.io/message/81345#81376 · In reply to: #81367

>  Zitat von Ferenc Kovacs <tyra3l@gmail.com>:
>
>
>
> 
>
> > […]
>
> *what version of vagrant are you using? (you can check via vagrant
> --version)*
> *adding boxes like that (username/boxname format instead of using the full
> url for the box) is only supported since vagrant 1.5*
> *if you don't wanna upgrade you could try something like*
> *vagrant box add https://atlas.hashicorp.com/rasmus/boxes/php7dev
> <https://atlas.hashicorp.com/rasmus/boxes/php7dev> *
> *vagrant init php7dev*
>  *but probably easier to just upgrade*
>
>
> *--*
>
> *Ferenc Kovács @Tyr43l - http://tyrael.hu <http://tyrael.hu>*
>
>
>
> It's indeed 1.4, but that doesn't work with the full URL either. Upgrading
> is the way to go.
>
agree, but out of curiosity, could you try the following with 1.4?:
vagrant box add "rasmus/php7dev"
https://vagrantcloud.com/rasmus/boxes/php7dev/versions/0.0.2/providers/virtualbox.box
--provider virtualbox

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu

---

## #81381 — Jan Schneider — 2015-01-29T13:40:23+00:00

URL: https://externals.io/message/81345#81381 · In reply to: #81376

Zitat von Ferenc Kovacs <tyra3l@gmail.com>:

> 
>
> > […]
will
> > […]
like__
> > […]
>
>     _agree, but out of curiosity, could you try the following with 1.4?:_
>     _vagrant box add "rasmus/php7dev"
>
https://vagrantcloud.com/rasmus/boxes/php7dev/versions/0.0.2/providers/virtualbox.box
--provider
> virtualbox_
>      
> _-- _
>     _Ferenc Kovács
> @Tyr43l - http://tyrael.hu_

Too late, I already upgraded. But 1.4.x is the version shipped with recent
Ubunutu (and thus probably recent Debian), so you can easily test it there.
-------------------------
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject

---

## #81416 — Ralf Becker — 2015-01-30T10:17:14+00:00

URL: https://externals.io/message/81345#81416 · In reply to: #81345

Am 28.01.15 um 23:50 schrieb Rasmus Lerdorf:
> As a follow-up to my PHP7 Homework post last week, here is a bit of
> spoon-feeding for all you lurkers on this list.
>
> https://atlas.hashicorp.com/rasmus/boxes/php7dev
>
> The description there should be fairly self-explanatory. If you have a
> computer running Linux, OSX or Windows and about 4G of disk space, heck
> install it on a $5 USB stick, then you don't have any excuses. It will
> takes less than 15 minutes of your time, and most of that is waiting for
> the download.
>
> Please use it to install your own applications or whatever random PHP
> applications out there you can find and help us track down issues. We
> have been plagued by bugs being found after initial releases because not
> enough people helped test in the past. Let's try to get ahead of them
> this time.
>
> -Rasmus
>
Tried installing EGroupware (www.egroupware.org) on your vagrant box.

Unfortunately our installation check, checking for various requirements,
immediately triggers a segmentation fault :-(

==> /var/log/nginx/php-fpm_error.log <==
[30-Jan-2015 08:51:46] WARNING: [pool www] child 3825 exited on signal
11 (SIGSEGV) after 17.819481 seconds from start

I was able to narrow it down to a couple of lines php (independent of
rest of our code-base):

    http://3v4l.org/gvuTS

Above reports it running for "4.3.0 - 5.6.5, php7@20140507 - 20150101",
but it fails for 0.0.2 version of your box
(without updating php itself).

Not sure what to do now, having no experience with development side of php.

Ralf

-- 
Ralf Becker
Director Software Development

Stylite AG

Morschheimer Strasse 15 | Tel. +49 6352 70629 0
D-67292 Kirchheimbolanden | Fax. +49 6352 70629 30

Email: rb@stylite.de

www.stylite.de | www.egroupware.org

Managing Directors: Andre Keller | Ralf Becker | Gudrun Mueller
Chairman of the supervisory board: Prof. Dr. Birger Leon Kropshofer

VAT DE214280951 | Registered HRB 31158 Kaiserslautern Germany

---

## #81425 — Rasmus Lerdorf — 2015-01-30T13:06:41+00:00

URL: https://externals.io/message/81345#81425 · In reply to: #81416

> Tried installing EGroupware (www.egroupware.org) on your vagrant box.
> 
> Unfortunately our installation check, checking for various requirements,
> immediately triggers a segmentation fault :-(
> 
> ==> /var/log/nginx/php-fpm_error.log <==
> [30-Jan-2015 08:51:46] WARNING: [pool www] child 3825 exited on signal
> 11 (SIGSEGV) after 17.819481 seconds from start
> 
> I was able to narrow it down to a couple of lines php (independent of
> rest of our code-base):
> 
>     http://3v4l.org/gvuTS
> 
> Above reports it running for "4.3.0 - 5.6.5, php7@20140507 - 20150101",
> but it fails for 0.0.2 version of your box
> (without updating php itself).
> 
> Not sure what to do now, having no experience with development side of php.

You did exactly what we needed. You reduced the problem down to a simple
standalone script. I expect it will be fixed in less than 24 hours. When
that happens, log into the php7dev box and do:

cd php-src
make distclean
./buildconf -f
./cn
make
sudo make install

Then try your code again.

While you wait, I released a new version of the box, so you could update it.

-Rasmus

---

## #81434 — Rasmus Lerdorf — 2015-01-30T16:05:40+00:00

URL: https://externals.io/message/81345#81434 · In reply to: #81425

> 
> > […]
> 
> You did exactly what we needed. You reduced the problem down to a simple
> standalone script. I expect it will be fixed in less than 24 hours. When
> that happens, log into the php7dev box and do:
> 
> cd php-src
> make distclean
> ./buildconf -f
> ./cn
> make
> sudo make install
> 
> Then try your code again.
> 
> While you wait, I released a new version of the box, so you could update it.

... and it is fixed. Rebuild your PHP as per the instructions there and
you can continue.

-Rasmus
