Replies: 3 comments
-
First of all, thank you for such a detailed set of questions and output, this means a lot 😄.
Currently I don't know, I'm not running any ARM based processor and Github Actions are not giving any offerings regarding to ARM and Apple Mac M Series. Most of the deployments on the server are X86_64 Architecture and that's what we're optimizing for.
YES, problem for me is to support something officially when I don't any hardware to test it ( Yes running AWS based Arm instances might help resolve the issue for ARM, but they are expensive and offer no developer experience to debug... could be done, but for now and me personally it's not a viable solution ). If you are willing to support ARM64 and have some knowledge on how PHP Extensions work (even if you don't, we can make something out), SEND A PULL REQUEST PLEASE.
Currently NO. We are in process of rewriting the OLD Codebase to RUST on V2 Branch which will offer (we hope) same performance and better DX. There is no SCYLLADB Bindings for PHP Except this one (as far as I know -> search many times, this is why company I work for, forked it and started the maintenance)
YES, Everything I'll try to fix these issues, looks like a trivial fix, and issue is WITH CMakeLists |
Beta Was this translation helpful? Give feedback.
-
Thanks for replying so quickly. After a lot of searching, I wasn't able to find another PHP driver in active development. I will fork the repo and do what I can. Have you submitted the project for sponsorship? |
Beta Was this translation helpful? Give feedback.
-
Nice thank you for the future contribution.
I have not. I'm not the owner of the organization, just doing it here with @DanielHe4rt If you have any questions or need any help, ping me and open Issue/Discussion |
Beta Was this translation helpful? Give feedback.
-
I'm attempting to build the driver on an Apple M3 Pro, and I am in need of advice.
TL;DR
My Build Attempts
By initial efforts in building it directly on an Apple M3 Pro were not successful.
(I was successful in building the driver in Ubuntu 22.04 LTS that is running on x86-64 Architecture.)
My current attempt is to build the driver on aUbuntu 22.04 LTS virtual machine, running on a Apple M3 Pro. I'm running the VM using UTM.
I followed the procedures in the repo README file, and I have documented my exact procedure.
https://latu.notion.site/Build-Procedure-for-ScyllaDB-PHP-Driver-e9c9b88b906040f789d82b47e6c837f3
The build process did appear to finish, and I completed the installation steps.
But I have a block. The following startup error is being thrown by PHP.
I did experience two errors when running the scylladb-php-driver build.
I worked around these errors by making two modifications to the repo.
Edit CMakeLists.txt and comment out line 52
Edit cmake/TargetOptimizations.cmake and comment out line 16
I did also build the libscylla-cpp-driver, and libscylla-cpp-driver.so.2 does exist and is in the env PATH.
The complete output of the build:
Questions
My ultimate goal is to setup a dev environment for a PHP project that needs to utilize a ScyllaDB server as a data source. My preferred work station is a Mac.
Thanks
I am grateful to everyone who has contributed to this project.
And I would greatly appreciate any advice.
Beta Was this translation helpful? Give feedback.
All reactions