-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Build mysql as shared extension for PHP 5.5 and 5.6 #29
Conversation
Sounds reasonable to me. |
Is the |
It seems like it should be |
@tianon good question, think I picked it from the php internals book, but haven't checked what the best path would be there. I think picking a path could be important because (if this gets merged), future extensions should probably set the same path as well. |
@md5 just checked; when building with
possibly, using the |
hm.. getting some gpg errors, first build;
then;
Are these safe to ignore? |
Yes, those are normal. |
Updated Dockerfiles for PHP 5.5 and 5.6 to build mysql as a shared extension and disable it by default. The mysql extension is deprecated since PHP 5.5 and using it is discouraged. Users requiring the mysql extension can still enable it by adding; extension=mysql.so to their php.ini, which should be added to the README because this breaks backwards compatibility with previous versions of this image. After building, the mysql extension can be found here; /usr/local/lib/php/extensions/no-debug-non-zts-20131226/mysql.so closes #28
Rebased the PR and removed the Turns out that if the Just rebuilt the 5.6-apache Dockerfile to test after the rebase and afaics, it works correctly. (5.5-apache was tested before rebase) |
LGTM |
Still needs the docs change in the README, perhaps this could be included in the changes you're working on wrt php.ini. |
So, this should be covered now by just adding something like this to the RUN docker-php-ext-install mysql I know |
Yes, I've seen a lot of progress going on (sorry to be quiet a bit), quite a new approach. I haven't had the time yet to test the new system, but I think that will cover this. I'll close the PR, thanks for an excellent job! |
Updated Dockerfiles for PHP 5.5 and 5.6 to build mysql as a shared extension and not enable it by default.
The mysql extension is deprecated since PHP 5.5 and using it is discouraged.
Users requiring the mysql extension can still enable it by adding
extension=mysql.so
to their php.ini, which should be added to the README because this breaks backwards compatibility with previous versions of this image.closes #28