Unable to load dynamic library '/www/wwwroot/so/top.so' - /www/wwwroot/so/top.so: undefined symbol: php_json_decode_ex in Unknown on line 0
php 5.6.31
我的配置如下:
version: '2'
services:
nginx-php-fpm:
image: agmedia/docker-nginx-php-fpm5.6
ports:
- 80:80
volumes:
- ./www:/www/wwwroot:rw
- ./php/php.ini:/etc/php/5.6/fpm/php.ini:ro
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
和目录结构:
- nginx
|- default.conf
- php
|- php.ini
- www
|- so
|- ...
compose.yml
php.ini中的扩展名。
有人可以帮我解决这个问题吗?