8000 [travis-ci] Zend Garbage Collection only for PHP5.4 by pborreli · Pull Request #6063 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[travis-ci] Zend Garbage Collection only for PHP5.4 #6063

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

Closed
wants to merge 2 commits into from
Closed

[travis-ci] Zend Garbage Collection only for PHP5.4 #6063

wants to merge 2 commits into from

Conversation

pborreli
Copy link
Contributor

No description provided.

@@ -1,5 +1,10 @@
<?php

if (version_compare(PHP_VERSION, '5.4', '>=') && gc_enabled()) {
// Disabling Zend Garbage Collection to prevent segfaults with PHP5.4+
Copy link
Member

Choose a reason for hiding this comment

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

Can you add the reference to the relevant PHP bugs, so that we can remove this when it is fixed upstream? Thanks.

Copy link
Member

Choose a reason for hiding this comment

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

Also, I'm not sure this is the right thing to do as for instance I have no problem running the test locally with PHP 5.4. Is it related to Travis somehow?

Copy link
Member

Choose a reason for hiding this comment

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

@fabpot but is gc enabled locally ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@fabpot had the same problem on multiple ubuntu vps already

Copy link
Member

Choose a reason for hiding this comment

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

fair enough. Can you add the references to the PHP bugs before I merge?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@fabpot fabpot closed this in 382d580 Nov 19, 2012
@stof
Copy link
Member
stof commented Nov 19, 2012

I think this should have been merged into 2.0 to avoid travis failures in the tetssuite for these branches

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.

3 participants
0