Trying to install EspoCRM on Ubuntu 26.04
mariadb from 11.8.6-MariaDB, client 15.2 for debian-linux-gnu (x86_64) using EditLine wrapper
PHP 8.5.2 (cli) (built: Jan 21 2026 17:35:28) (NTS)
During the installation I get this error:
API Error: EspoCRM API is unavailable.
Do only necessary steps. After each step check if the issue is solved.
1. Enable "mod_rewrite".
and this error in apache2 log:
[Wed May 20 18:40:11.509071 2026] [core:notice] [pid 20493:tid 20493] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND'
[Wed May 20 18:41:16.006298 2026] [php:warn] [pid 20497:tid 20497] [client 10.81.0.130:44120] PHP Warning: preg_match(): Allocation of JIT memory failed, PCRE JIT will be disabled. This is likely caused by security restrictions. Either grant PHP permission to allocate executable memory, or set pcre.jit=0 in /var/www/espocrm/application/Espo/Core/Utils/System.php on line 45, referer: http://crm.logicworks.com.pt/install/
[Wed May 20 18:41:16.343428 2026] [core:alert] [pid 20497:tid 20497] [client 10.81.0.130:44120] /var/www/espocrm/public/api/v1/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration, referer: http://crm.logicworks.com.pt/install/
If I enable a2enmod rewrite
doesn't work either
Maybe it's not prepared for Ubuntu 26 yet
mariadb from 11.8.6-MariaDB, client 15.2 for debian-linux-gnu (x86_64) using EditLine wrapper
PHP 8.5.2 (cli) (built: Jan 21 2026 17:35:28) (NTS)
During the installation I get this error:
API Error: EspoCRM API is unavailable.
Do only necessary steps. After each step check if the issue is solved.
1. Enable "mod_rewrite".
and this error in apache2 log:
[Wed May 20 18:40:11.509071 2026] [core:notice] [pid 20493:tid 20493] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND'
[Wed May 20 18:41:16.006298 2026] [php:warn] [pid 20497:tid 20497] [client 10.81.0.130:44120] PHP Warning: preg_match(): Allocation of JIT memory failed, PCRE JIT will be disabled. This is likely caused by security restrictions. Either grant PHP permission to allocate executable memory, or set pcre.jit=0 in /var/www/espocrm/application/Espo/Core/Utils/System.php on line 45, referer: http://crm.logicworks.com.pt/install/
[Wed May 20 18:41:16.343428 2026] [core:alert] [pid 20497:tid 20497] [client 10.81.0.130:44120] /var/www/espocrm/public/api/v1/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration, referer: http://crm.logicworks.com.pt/install/
If I enable a2enmod rewrite
doesn't work either
Maybe it's not prepared for Ubuntu 26 yet

Comment