Replies: 2 comments 1 reply
-
btw did a tinker and as expected |
Beta Was this translation helpful? Give feedback.
-
This is a really interesting use-case! I'm not sure if it's possible (or even whether it should be possible at this stage) to load extra extensions into these static PHP binaries like this, but happy to explore. You could try it directly against the binary rather than via the Electron app, as this may make your debugging and tinkering a little easier: /Users/alfrednutile/Code/native_laralama/vendor/nativephp/electron/resources/js/resources/php/php -d
sqlite3.extension_dir='/Users/alfrednutile/Code/native_laralama/system/mac' -i This should set the needed ini setting ( I'm not sure what PHP info is expected to show when this extension is loaded, but I guess it will be somewhere around the SQLite section if it does load. Also I noted - according to their docs - that you are required to use a special |
Beta Was this translation helpful? Give feedback.
-
Hello, trying to test out SQLite Vector Search extension.
Just want to make sure I have the php.ini updates in the right place.
I used this post https://github.com/orgs/NativePHP/discussions/171 to see about how to alter the php.ini
I added this to
app/Providers/NativeAppServiceProvider.php
and on boot I see this in the logs:
But the query on the home page (the default one) just never loads so I assume it is just not making it past something here.
White screen and nothing in the logs.
The post I am following is https://resonance.distantmagic.com/docs/features/vector-store/sqlite-vss/
Beta Was this translation helpful? Give feedback.
All reactions