https://bugs.gentoo.org/904664 --- a/plugins/php/uwsgiplugin.py +++ b/plugins/php/uwsgiplugin.py @@ -14,6 +14,9 @@ php_version = os.popen(PHPPATH + ' --version').read().rstrip().split('.')[0] +if php_version == '8' : + php_version = '' + CFLAGS = [os.popen(PHPPATH + ' --includes').read().rstrip(), '-Wno-sign-compare'] LDFLAGS = os.popen(PHPPATH + ' --ldflags').read().rstrip().split()