Answer the question
In order to leave comments, you need to log in
How to make friends nginx + ztds + php-fpm for different directories?
please tell me such a moment, I can’t figure it out ...
the automatic script installs nginx + php-fpm (perhaps it installs a lot of things) on a server running centos 6
ztds unpack to /usr/share/nginx/html and everything works fine,
but the task is the fact that there are several domains on one server, I display the domain through the nginx config to a separate directory, for example, in /usr/share/nginx/domain.ru and ztds stops working correctly,
judging by the manual of ztds itself, it swears at "Disabled sqlite3 in php", but this is not accurate, the feeling is that php-fpm does not work from other directories
in phpinfo() it is written that php-fpm:active , what could be the problem, why does ztds stop working correctly when changing the folder?
phpinfo() is actually the same, the problem is in some kind of config
Answer the question
In order to leave comments, you need to log in
See if the sqlite3 extension is enabled. It's somewhere in /etc/php-fpm.d/00-sqlite3.conf (something like that) Then restart fpm.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question