When i run a script from the cli, i am getting the message:
Now 2097152 is the default of 2mb. From Zend Server (9) admin interface, i have set memory limit to 1024M. From the cli i run:Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 32768 bytes) in.....
Code: Select all
$ php -r "echo ini_get('memory_limit');"
I've even tried changing the memory limit to 1073741824 (bytes), and still same message.
From the cli,
Code: Select all
$ php --ini
Code: Select all
Configuration File (php.ini) Path: C:\WINDOWS
Loaded Configuration File: C:\Program Files (x86)\Zend\ZendServer\etc\php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed: (none)
ZS and Apache have been restarted multiple times. Cmd run as user and admin. Just seems like memory_limit is being ignored.