-
Notifications
You must be signed in to change notification settings - Fork 723
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 pecl compiles for the wrong version #6490
Comments
Thanks for opening the issue. Looks like the new images shipped with incorrect Thank you for your patience. |
In the meantime, I've uploaded PHP 5.6.23 and 5.5.38 with what I believe is correct configuration. Could you test those? You'd have to specify with TEENY version: language: php
php:
- 5.5.38 # for example |
Yay! Thanks for the confirmation. We will be updating the images soon. <3 |
We'll have to see how well these work... Travis CI is currently having problems installing pecl packages on older PHP versions. travis-ci/travis-ci#6490
so that pear is configured correctly for the phpenv-selected version Closes #270 Closes travis-ci/travis-ci#6490
so that pear is configured correctly for the phpenv-selected version Closes #270 Closes travis-ci/travis-ci#6490 🎉 💣 commit-range=012625bbe832fb15968e172282a15a004851f0d1...f0d9624
I expect images with this fix to be available via |
5.5 appears to have been fixed, but I'm still seeing this same issue with 5.6 and 5.4, both attempting to install for 7.0.7. 5.6: https://travis-ci.org/matthiasmullie/scrapbook/jobs/158497613#L285 |
@meatballhat Could you review the image? |
@BanzaiMan Can you help me understand why this change was made? travis-ci/php-src-builder@c048d27 AFAICT many versions present in the |
Has there been any progress on this? |
@matthiasmullie We've been making new archives and rolling out new images. We might have missed something, or we have not updated images which are relevant to your builds. Could you point to a build log URL that shows your current issues? |
Any progress on this ? |
This appears to have been fixed by now. |
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues |
We have a script that runs
pecl install
on php 5.5 environment and it compiles and installs the pecl extension for a php 5.6. See a print from the job:This causes PHP to fail to load the extension for obvious reasons:
PHP Warning: PHP Startup: Unable to load dynamic library '/home/travis/.phpenv/versions/5.5.37/lib/php/extensions/no-debug-zts-20121212/apcu.so' - /home/travis/.phpenv/versions/5.5.37/lib/php/extensions/no-debug-zts-20121212/apcu.so: cannot open shared object file: No such file or directory in Unknown on line 0
It is happening in a private repo, so I can't share the link.
Part of our
.travis.yml
:The text was updated successfully, but these errors were encountered: