This is a memory issue somewhere. I just hadn’t done any testing since @kgupta made the post. I was replying to @getzpas because that step is needed if the freepbx.service file is modified.
@kgupta Restarting apache does solve the issue but my freepbx.service file has After=apache2.service
Here’s my current freepbx.service file:
[Unit]
Description=FreePBX VoIP Server
After=mariadb.service
After=apache2.service
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/sbin/fwconsole start
ExecStop=/usr/sbin/fwconsole stop
[Install]
WantedBy=multi-user.target
This is the memory error:
Allowed memory size of 536870912 bytes exhausted (tried to allocate 1281717103 bytes)
I have tried raising the memory limit in php.ini but it didn’t seem to help. Unless I’m missing another location that overrides what is in /etc/php/8.2/