Hi everybody,

I built the uWSGI php plugin, and I am not getting it to run.
I tried it with all latest versions of php 7.1, 7.2 and 7.3 and I get always the same errors displayed.

Anybody knows why and what is going wrong up here ?

If anybody can tell me what i did wrong, I would kindly thank you.


best, Tamer


--


Steps to reproduce:
1 - download php and build it with: ./configure --prefix=/usr/local/php71-emb --enable-mbstring --enable-embed
make, and make install.

2 - build the plugin: UWSGICONFIG_PHPDIR=/usr/local/php71-emb python uwsgiconfig.py --plugin plugins/php default php71

and make the simple test:

./uwsgi --plugin php71 --master --socket :3030 --processes 4


the outout:

!!! UNABLE to load uWSGI plugin: ./php71_plugin.so: undefined symbol: sapi_globals !!! *** Starting uWSGI 2.1-dev-99c74add (64bit) on [Sun FebĀ  3 21:19:47 2019] ***
compiled with version: 6.3.0 20170516 on 03 February 2019 20:04:55
os: Linux-4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27)
nodename: mx-in
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 6
current working directory: /usr/local/uwsgi-g
detected binary path: /usr/local/uwsgi-g/uwsgi
dropping root privileges as early as possible
your processes number limit is 63656
your memory page size is 4096 bytes
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address :3030 fd 3
dropping root privileges after socket binding
dropping root privileges after plugin initialization
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
your request buffer size is 4096 bytes
mapped 364800 bytes (356 KB) for 4 cores
*** Operational MODE: preforking ***
*** no app loaded. GAME OVER ***

_______________________________________________
uWSGI mailing list
uWSGI@lists.unbit.it
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to