Hot to solve this problem and why it happens?
Zend Server Log:
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 538798977 bytes) in C:\Program Files (x86)\Zend\Apache2\htdocs\test\modules\main.php on line 3
The file main.php
does not produce any error, if it's executed directly from browser. However, if I use its functions from another PHO file, then Zend Log prints the above-mentioned error.