./build rewrite_confs errors

sjaakfaal

Verified User
Joined
Feb 14, 2010
Messages
41
Hi Guys,

Lately i have a weird error when i execute ./build rewrite_confs

This is the output:

Using x.y.z.f for your server IP
Backslash found where operator expected at -e line 1, near "\"
Regexp modifiers "/d" and "/a" are mutually exclusive at -e line 1, at end of line
Unknown regexp modifier "/b" at -e line 1, at end of line
Regexp modifiers "/d" and "/l" are mutually exclusive at -e line 1, at end of line
Unknown regexp modifier "/_" at -e line 1, at end of line
Unknown regexp modifier "/f" at -e line 1, at end of line
Regexp modifiers "/d" and "/u" are mutually exclusive at -e line 1, at end of line
Unknown regexp modifier "/t" at -e line 1, at end of line
syntax error at -e line 1, near "\"
Execution of -e aborted due to compilation errors.

PHP has been secured.
Restarting php-fpm74.
Restarting php-fpm56

Allthough the error(s) the server (php) keeps running so no real problems found. But the errors/warnings that worries me.

I also did:

wget -O /usr/local/directadmin/custombuild/build http://files1.directadmin.com/services/custombuild/2.0/custombuild/build

But no effect.

Any thoughts?
 
I just wanted to reply in-case someone ran into this. It happens when the build script runs the secure_php() function and sets the disable_functions in the php.ini in /usr/local/php<whatever_version>/lib/php.ini

This happens if you've manually changed the disable_functions in the php.ini but commented out the original line.

To fix it, just remove the commented out #disable_functions line.
 
Back
Top