[php-src] Issue #19139: PHP Compile for REDCap
| From: | AdamBER2 | Date: | Tue, 15 Jul 2025 17:24:34 +0000 |
| Subject: | [php-src] Issue #19139: PHP Compile for REDCap | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-250442@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/19139
Author: AdamBER2
### Description
The following code:
./configure --with-apxs2=/usr/bin/apxs --prefix=/usr/local/php --enable-intl --enable-gd --with-jpeg
--with-xsl --with-webp --enable-sockets --enable-opcache --enable-xml --with-libxml --enable-exif
--with-zip --enable-ftp --enable-mysqlnd --with-mysqli --with-pdo-mysql --enable-mbstring
--with-freetype --enable-opcache --enable-fpm --with-curl --with-openssl --enable-bcmath --with-zlib
--enable-phar --with-avif --with-xpm --with-config-file-path=/etc/php/
PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:
Resulted in this output:
i have issues with the make test.
also when i do php -v i get this messages
PHP Warning: PHP Startup: intl: Unable to initialize module
Module compiled with module API=20230831
PHP compiled with module API=20240924
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring.so' (tried:
/usr/local/lib/php/extensions/no-debug-non-zts-20240924/mbstring.so
(/usr/local/lib/php/extensions/no-debug-non-zts-20240924/mbstring.so: undefined symbol:
pcre2_code_free_8), /usr/local/lib/php/extensions/no-debug-non-zts-20240924/mbstring.so.so
(/usr/local/lib/php/extensions/no-debug-non-zts-20240924/mbstring.so.so: cannot open shared object
file: No such file or directory)) in Unknown on line 0
PHP Warning: Module "exif" is already loaded in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'sqlite3.so' (tried:
/usr/local/lib/php/extensions/no-debug-non-zts-20240924/sqlite3.so
(/usr/local/lib/php/extensions/no-debug-non-zts-20240924/sqlite3.so: cannot open shared object file:
No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20240924/sqlite3.so.so
(/usr/local/lib/php/extensions/no-debug-non-zts-20240924/sqlite3.so.so: cannot open shared object
file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: xsl: Unable to initialize module
Module compiled with module API=20230831
PHP compiled with module API=20240924
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'zip.so' (tried:
/usr/local/lib/php/extensions/no-debug-non-zts-20240924/zip.so
(/usr/local/lib/php/extensions/no-debug-non-zts-20240924/zip.so: undefined symbol: pcre2_match_8),
/usr/local/lib/php/extensions/no-debug-non-zts-20240924/zip.so.so
(/usr/local/lib/php/extensions/no-debug-non-zts-20240924/zip.so.so: cannot open shared object file:
No such file or directory)) in Unknown on line 0
PHP 8.4.6 (cli) (built: Jul 7 2025 11:13:30) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.4.6, Copyright (c) Zend Technologies
i dont understand whats wrong please help
Also cant upload the file of the failure message because its over 28 MB
### PHP Version
```plain
PHP 8.4.6 (cli) (built: Jul 7 2025 11:13:30) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.4.6, Copyright (c) Zend Technologies
```
### Operating System
Ubuntu 24.04