N
N
Nikolino2018-06-09 11:58:00
PHP
Nikolino, 2018-06-09 11:58:00

Sphinx Laravel how to get snippets?

I'm using https://github.com/sngrl/sphinxsearch package, it has a getSnippetsQL method , but it connects to the database using mysqli_connect. As far as I understand, the mysqli_connect driver is disabled in Laravel, so I get null when connecting.
How can I get snippets?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Aksentiev, 2018-06-09
@Sanasol

mysqli_connect driver in Laravel is disabled

And here mysqli and laravel... Does
php have mysqli installed or not?
Laravel without base works for you?
Sphinx connects not to the database, but to itself. You can communicate with the Sphinx server in sql because.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question