D
D
Dimkus332014-10-20 14:24:55
PHP
Dimkus33, 2014-10-20 14:24:55

Why doesn't php5-fpm include extensions?

Hello!
The /etc/php5/fpm/conf.d/ directory contains the files 00-ioncube.ini, browscap.ini

ls -l /etc/php5/fpm/conf.d/
-rw-r--r-- 1 root root 66 Oct 20 12:52 00-ioncube.ini
lrwxrwxrwx 1 root root 32 Oct 13 13:41 05-opcache.ini -> ../../mods-available/opcache.ini
lrwxrwxrwx 1 root root 28 Oct 13 13:41 10-pdo.ini -> ../../mods-available/pdo.ini
lrwxrwxrwx 1 root root 37 Oct 20 12:18 20-browscap.ini -> /etc/php5/mods-available/browscap.ini
lrwxrwxrwx 1 root root 29 Oct 13 13:41 20-curl.ini -> ../../mods-available/curl.ini
lrwxrwxrwx 1 root root 29 Oct 13 13:41 20-json.ini -> ../../mods-available/json.ini
lrwxrwxrwx 1 root root 31 Oct 13 13:41 20-mysqli.ini -> ../../mods-available/mysqli.ini
lrwxrwxrwx 1 root root 30 Oct 13 13:41 20-mysql.ini -> ../../mods-available/mysql.ini
lrwxrwxrwx 1 root root 34 Oct 13 13:41 20-pdo_mysql.ini -> ../../mods-available/pdo_mysql.ini
lrwxrwxrwx 1 root root 33 Oct 13 13:41 20-readline.ini -> ../../mods-available/readline.ini
lrwxrwxrwx 1 root root 31 Oct 13 13:41 20-xcache.ini -> ../../mods-available/xcache.ini

I don't see them in phpinfo:
Additional .ini files parsed
/etc/php5/fpm/conf.d/05-opcache.ini,
/etc/php5/fpm/conf.d/10-pdo.ini, 
/etc/php5/fpm/conf.d/20-curl.ini, 
/etc/php5/fpm/conf.d/20-json.ini, 
/etc/php5/fpm/conf.d/20-mysql.ini, 
/etc/php5/fpm/conf.d/20-mysqli.ini, 
/etc/php5/fpm/conf.d/20-pdo_mysql.ini, 
/etc/php5/fpm/conf.d/20-readline.ini, 
/etc/php5/fpm/conf.d/20-xcache.ini

php-fpm, nginx restarted, these extensions are connected via cli.
I ask for help, because I can not understand what's wrong. Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Kubintsev, 2014-10-20
@Dimkus33

Make symlinks for the necessary extensions from /etc/php5/mods-available/ to /etc/php5/fpm/conf.d/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question