Error in diectadmin php

cabn12

Verified User
Joined
Dec 17, 2019
Messages
132
Configuring extensions
checking size of long... (cached) 8
checking size of int... (cached) 4
checking for int32_t... yes
checking for uint32_t... yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtoll... yes
checking for atoll... yes
checking for strftime... (cached) yes
checking for gettimeofday... (cached) yes
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr/local/lib
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... yes
checking for OpenSSL support... yes
checking for Kerberos support... yes
checking whether to use system default cipher list instead of hardcoded value... no
checking for krb5-config... /usr/bin/krb5-config
checking for RAND_egd... no
checking for pkg-config... /usr/bin/pkg-config
checking for PCRE headers location... configure: error: Could not find pcre.h in /usr/local

*** There was an error while trying to configure php. Check the configure file
[root@angelus custombuild]#
 
Tried this?

Code:
cd /usr/local/directadmin/custombuild; ./build pcre; ./build pcre2

Then try rebuilding php
 
Thankyou, but i' rum this:

cd /usr/local/directadmin/custombuild
./build update
./build all d
error persist php
 
Can you check to see if PCRE installation with the following commands?

Code:
rpm -qa | grep pcre

And this:

Code:
find /usr/local/php*/include/php/ext/pcre/ -name "*pcre.h"

What all versions of PHP do you have installed?

Code:
grep php._release /usr/local/directadmin/custombuild/options.conf
 
Last login: Thu Nov 12 23:34:54 2020 from 179.157.221.164
[root@angelus ~]# rpm -qa | grep pcre
pcre2-utf16-10.32-1.el8.x86_64
pcre-cpp-8.42-4.el8.x86_64
pcre-8.42-4.el8.x86_64
pcre2-utf32-10.32-1.el8.x86_64
pcre2-devel-10.32-1.el8.x86_64
pcre-utf16-8.42-4.el8.x86_64
pcre-devel-8.42-4.el8.x86_64
pcre2-10.32-1.el8.x86_64
pcre-utf32-8.42-4.el8.x86_64
[root@angelus ~]# find /usr/local/php*/include/php/ext/pcre/ -name "*pcre.h"
/usr/local/php72/include/php/ext/pcre/php_pcre.h
/usr/local/php73/include/php/ext/pcre/php_pcre.h
/usr/local/php74/include/php/ext/pcre/php_pcre.h
[root@angelus ~]#
 
did you try the following command yet?

cd /usr/local/directadmin/custombuild
./build pcre

Then:

./build php

If so, did the ./build pcre give an error?
 
Back
Top