-
-
Notifications
You must be signed in to change notification settings - Fork 3.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
Enable mysql extension in PHP #1025
Conversation
You need to conditionally enable it for |
@vishalbiswas right, but how do I disable subpackages? As far as I can tell |
Hopefully the next NDK release, |
Hmm there still seems to be a problem with this as it can't actually load pdo_mysql.
@vishalbiswas any ideas? |
Related to 1a6cff7
I've been using it for month now without problems, but since the mariadb update to 10.2.6, php sometimes Segfaults when connecting to large databases. I've seen this issue come up with Typo3 instances.
I'm not sure what could cause the problem |
@Neo-Oli Does rebuilding the extension against mariadb 10.2.6 and installing fix the problem, or does it remain? |
@fornwall It remains. I actually had to change the patch to get it to work at all. It seems that the older version provided libmysqlclient.so while the new one provides libmariadb.so. |
Finally managed to grab a stack trace by running php as it's own server.
|
I tried compiling php with debug symbols enabled but that just gives me
during compilation |
@Neo-Oli Can you try again with the updated php package at version 7.1.7? This contains a backported aarch64 php bug fix, php/php-src@8c86792, concerning inline assembly for long multiplication, so it may be related. |
@fornwall Unfortunately I am currently struggling compiling pdo_mysql and mysqli because in the last version of mariadb |
libmysqlclient is now built static. So, you'll need to build mariadb yourself to get |
@vishalbiswas I added your patch and then did it again for the current version of php. After that didn't work I replaced some more instances of mysqlclient with mariadb, but I'm still getting:
|
I also tried it with removing the patch and adding a symlink for libmysqlclient.so but I get the same error. @vishalbiswas Do you want to give packaging this a try? I'm not in it for the glory and don't mind if it isn't my name in the commit ;). I am also rather short on time the next couple of weeks. |
Can be closed now. I created #1763 |
Since mariadb isn't available on arm yet, this is going to cause some issues. But on aarch64 it works well already. I tested it with a wordpress and a typo3 installation.