Source guardian on php 8.1

Hi there
I have throuble with installing source guardian on php 8.1.
I download source guardian from https://www.sourceguardian.com/loaders/download/loaders.linux-x86_64.zip link, and copy ixed.8.1.lin file here /usr/local/lsws/lsphp81/ixed.8.1.lin
and put zend_extension= /usr/local/lsws/lsphp81/ixed.8.1.lin in php.ini at edit php configurations page.
After restart php or reboot server, webserver seems to hanging and give “The connection was reset”
I test this for php 7.4 and was successful.
This is my Error Logs after every request:

2023-05-20 06:22:59.992861 [INFO] [119357] [gemta1010.990]: locked pid file [/tmp/lshttpd/gemta1010.sock.pid].
2023-05-20 06:22:59.992987 [INFO] [119357] [gemta1010.990] remove unix socket for detached process: /tmp/lshttpd/gemta1010.sock
2023-05-20 06:22:59.993208 [NOTICE] [119357] [LocalWorker::workerExec] VHost:mysite.com suExec check uid 99 gid 99 setuidmode 0.
2023-05-20 06:22:59.993277 [NOTICE] [119357] [LocalWorker::workerExec] Config[gemta1010.990]: suExec uid 5003 gid 5003 cmd /usr/local/lsws/lsphp81/bin/lsphp, final uid 5003 gid 5003, flags: 0.
2023-05-20 06:22:59.994240 [NOTICE] [119357] [gemta1010.990] add child process pid: 120649
2023-05-20 06:22:59.994504 [INFO] [119357] [gemta1010.990]: unlocked pid file [/tmp/lshttpd/gemta1010.sock.pid].

issue was solved by changing ‘zend_extension = /usr/local/lsws/sourceguardian/ixed.8.1.lin’ to ‘extension = /usr/local/lsws/sourceguardian/ixed.8.1.lin’ and work smoothly

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.