Error(s) have occured, the following is the retrieve_conf output: exit: 255

Hi can anyone know what can it be ?

amportal a r

Please wait…

!!!amportal is depreciated. Please use fwconsole!!!
forwarding all commands to 'fwconsole’
Reloading FreePBX
Error(s) have occured, the following is the retrieve_conf output:
exit: 255
PHP Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 17628 bytes) in /var/www/html/admin/libraries/php-asmanager.php on line 304

p.s. searched in different forums, they describe to increase in php.ini, but i have

php -i | grep -i "Loaded Configuration File"
Loaded Configuration File => /etc/php.ini

php -r "echo ini_get(‘memory_limit’).PHP_EOL;"
2048M

and dont know where to find where he take only size of 262144 bytes Please help! (((