Server : Apache System : Linux profile 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64 User : apache ( 48) PHP Version : 8.0.28 Disable Function : NONE Directory : /var/www/html/mmishra/erp-19-12-2019/PHP-Facedetect/ |
Installing with `pecl` command-line utility 1. Install OpenCV libraries (at least version 3.0.0) 2. Execute command "pecl install facedetect" 3. Make sure you have extension=facedetect.so in your php.ini Installing from sources 1. Install OpenCV libraries (at least version 3.0.0) 2. Unpack facedetect source package 3. Go to facedetect folder and type "phpize && ./configure && make && make install" 4. Make sure you have extension=facedetect.so in your php.ini Compiling Facedetect into PHP 1. Install OpenCV libraries (at least version 3.0.0) 2. Unpack facedetect source package to $PHP_SOURCE_DIR/ext/facedetect 3. In php source root directory run commands: "rm configure && ./buildconf --force" 4. Configure PHP with command "./configure --with-facedetect" 5. Run make && make install