Answer the question
In order to leave comments, you need to log in
How to connect the facedetect module to PHP-FPM?
Hello. Please help, I can't connect the facedetect module.
opencv version 3.1
apache2 version - 2.4.6
PHP-FPM version
Feb 27 09:48:34 local.dev systemd[1]: Starting The PHP FastCGI Process Manager...
Feb 27 09:48:34 local.dev php-fpm[1059]: [27-Feb-2017 09:48 :34] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/facedetect.so' - libopencv_objdetect.so.3.1: cannot enable executable stack as shared object requires: Permission denied in Unknown on line 0
Feb 27 09:48:34 local.dev systemd[1]: Started The PHP FastCGI Process Manager.
Answer the question
In order to leave comments, you need to log in
PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/facedetect.so' - libopencv_objdetect.so.3.1: cannot enable executable stack as shared object requires: Permission denied
Php can't open the module, it doesn't have permissions. Add permissions to the module and directory with the module for the user that runs php-fpm
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question