> Steps to reproduce: > 1 - download php and build it with: ./configure > --prefix=/usr/local/php71-emb --enable-mbstring --enable-embed > make, and make install.
Is there any reason why you are not using libphp7.1-embed from the repositories? (I'm assuming you are running Debian) > 2 - build the plugin: UWSGICONFIG_PHPDIR=/usr/local/php71-emb python > uwsgiconfig.py --plugin plugins/php default php71 FYI I'm using: - name: "pushd php-plugins; ./configure && make; popd" command: > chdir=/home/uwsgi-build/src/ creates=/home/uwsgi-build/src/{{ item.name }}_plugin.so env CC=clang UWSGICONFIG_PHPPATH=/usr/bin/{{ item.config }} python uwsgiconfig.py --plugin plugins/php core {{ item.name }} with_items: - { name: php72, config: php-config7.2 } - { name: php71, config: php-config7.1 } - { name: php70, config: php-config7.0 } - { name: php56, config: php-config5.6 } Looking at plugins/php/uwsgiplugin.py it seems that your version is doing basically the same thing. Could you show us the output from "ldd php71_plugin.so"? It should import sapi_globals from libphp7.so. Is it possible that you don't have libphp7.so in your system, but libphp7.1.so? Could you try to execute something like this? ./uwsgi --dlopen /usr/lib/libphp7.1.so --plugin php71 --master --socket :3030 --processes 4 -- Krzysztof Warzecha _______________________________________________ uWSGI mailing list uWSGI@lists.unbit.it http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi