Sempiterna
Verified User
I'm trying to use custombuild to build php7.3 and 7.4, but during the process it quits with the following error:
The error suggests to set pcre.jit=0, but where do you set it? I assume in "a" php.ini. Which one does custombuild use during the build process?
Code:
Fatal error: Uncaught InvalidArgumentException: RegexIterator::__construct(): Allocation of JIT memory failed, PCRE JIT will be disabled. This is likely caused by security restrictions. Eithemission to allocate executable memory, or set pcre.jit=0 in /usr/local/directadmin/custombuild/php-7.4.8/ext/phar/phar.php:1133
Stack trace:
#0 /usr/local/directadmin/custombuild/php-7.4.8/ext/phar/phar.php(1133): RegexIterator->__construct(Object(RecursiveIteratorIterator), '/\\.svn/')
#1 /usr/local/directadmin/custombuild/php-7.4.8/ext/phar/phar.php(1077): PharCommand::phar_add(Object(Phar), 0, '/usr/local/dire...', NULL, '/\\.svn/', Object(SplFileInfo), NULL, true)
#2 /usr/local/directadmin/custombuild/php-7.4.8/ext/phar/phar.php(225): PharCommand->cli_cmd_run_pack(Array)
#3 /usr/local/directadmin/custombuild/php-7.4.8/ext/phar/phar.php(2089): CLICommand->__construct(19, Array)
#4 {main}
thrown in /usr/local/directadmin/custombuild/php-7.4.8/ext/phar/phar.php on line 1133
make: *** [ext/phar/phar.phar] Error 255
make: *** Waiting for unfinished jobs....
The error suggests to set pcre.jit=0, but where do you set it? I assume in "a" php.ini. Which one does custombuild use during the build process?