Re: [PHP-DEV] php7dev Vagrant box

2015-01-30 Thread Rasmus Lerdorf
On 01/30/2015 05:06 AM, Rasmus Lerdorf wrote:
> On 01/30/2015 02:17 AM, Ralf Becker wrote:
>> 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.

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

-Rasmus




signature.asc
Description: OpenPGP digital signature


Re: [PHP-DEV] php7dev Vagrant box

2015-01-30 Thread Rasmus Lerdorf
On 01/30/2015 02:17 AM, Ralf Becker wrote:
> 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




signature.asc
Description: OpenPGP digital signature


Re: [PHP-DEV] php7dev Vagrant box

2015-01-30 Thread Ralf Becker
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: r...@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






signature.asc
Description: OpenPGP digital signature


Re: [PHP-DEV] php7dev Vagrant box

2015-01-29 Thread Jan Schneider

 Zitat von Ferenc Kovacs :


On Thu, Jan 29, 2015 at 11:03 AM, Jan Schneider  wrote:


_Zitat von Ferenc Kovacs :_


_On Thu, Jan 29, 2015 at 9:57 AM, Jan Schneider  wrote:_


_Zitat von 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__


__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__




_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_


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


Re: [PHP-DEV] php7dev Vagrant box

2015-01-29 Thread Ferenc Kovacs
On Thu, Jan 29, 2015 at 11:03 AM, Jan Schneider  wrote:

>  Zitat von Ferenc Kovacs :
>
>
>
> On Thu, Jan 29, 2015 at 9:57 AM, Jan Schneider  wrote:
>
>>
>> Zitat von 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*
>>>
>>
>>
>>
>>
>> *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 *
>
>
>
> 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


Re: [PHP-DEV] php7dev Vagrant box

2015-01-29 Thread Jan Schneider

 Zitat von Ferenc Kovacs :


On Thu, Jan 29, 2015 at 9:57 AM, Jan Schneider  wrote:


Zitat von 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_


_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_


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


Re: [PHP-DEV] php7dev Vagrant box

2015-01-29 Thread Ferenc Kovacs
On Thu, Jan 29, 2015 at 9:57 AM, Jan Schneider  wrote:

>
> Zitat von 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
>>
>
> 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


Re: [PHP-DEV] php7dev Vagrant box

2015-01-29 Thread Jan Schneider


Zitat von 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


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


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] php7dev Vagrant box

2015-01-28 Thread Stanislav Malyshev
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
smalys...@gmail.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DEV] php7dev Vagrant box

2015-01-28 Thread 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



signature.asc
Description: OpenPGP digital signature