Php error - custombuild/php-5.4.45/ext/pcre/pcrelib/pcre.h

msok20

Verified User
Joined
Sep 22, 2020
Messages
35
Hello guys,

Today I'm trying to install DirectAdmin.
I have all the components (installed by guide directadmin installation)
The solutions I found every one to install yum install pcre-devel but I did !!

While it is installing:

OS: Centos 7

1605386865937.png
 
Try:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build php

Please let us know if that helped :)
 
I can't edit post..

I used your commands. and i have same error like up.

1605388466825.png

Edit: 22:24

I used this command ./build mcrypt and the installation has been taking 20 minutes. I think it helped because I'm installing php 5.6 now.
Is it okey? Because I was installing trial directadmin and it failed.
 
Last edited:
Having the same error, and with ./build mcrypt and ./build pcre and then ./build update followed by ./build php d it gets installed.
The problem that i have now is that the installation on a fresh Centos 7 and Fresh 8 failed, so directadmin.conf is missing, the user admin is not created and what even more is missing.

I am running now ./build all d (hope it helps and repairs stuff)
 
Having the same error, and with ./build mcrypt and ./build pcre and then ./build update followed by ./build php d it gets installed.
The problem that i have now is that the installation on a fresh Centos 7 and Fresh 8 failed, so directadmin.conf is missing, the user admin is not created and what even more is missing.

I am running now ./build all d (hope it helps and repairs stuff)
Just re-run "./setup.sh auto", otherwise you'll also need "./directadmin i; ./directadmin p" after "./build all d".

I'd like to note this issue shouldn't be there anymore for new installations with end-of-life versions of PHP.
 
Hi smtalk,

Did u fixed your setup on your side? I can do the setup.sh auto again, but since this is a fresh vm (centos8 php7.2) i can just start over to make sure everything is correct.
 
Can confirm, that the ./directadmin i option works.
And can confirm that a fresh install is still broken. Fresh install Centos 8 option 4 results in Could not find libpcre.(also) in /usr

I will stick to my old install and fixed the broken parts manual, but u need to work on your installation script :)
 
Can confirm, that the ./directadmin i option works.
And can confirm that a fresh install is still broken. Fresh install Centos 8 option 4 results in Could not find libpcre.(also) in /usr

I will stick to my old install and fixed the broken parts manual, but u need to work on your installation script :)
I think you might not have updated CustomBuild before the "fresh install" ? (it wasn't so fresh?)

I've applied one for fix for PHP <7.2 and new installs (this might have been it).
 
I rebuild all and everything works.

But i have only problem with start httpd.
When i enabled option mod_security my httpd doesnt wanna start.

1605399055697.png


1605399098687.png

I rebuild all

I rebuilt the environment etc but the problem persists. I'm not a newbie. I have installed directadmin many times.
 
I rebuild all and everything works.

But i have only problem with start httpd.
When i enabled option mod_security my httpd doesnt wanna start.

View attachment 3858


View attachment 3859

I rebuild all

I rebuilt the environment etc but the problem persists. I'm not a newbie. I have installed directadmin many times.
May you pm me access to it? I’d check it free of charge :)
 
Back
Top