What could be causing the memory_limit directive to be ignored in PHP on a Windows server?
The memory_limit directive in PHP may be ignored on a Windows server due to conflicting settings in other configuration files or PHP extensions. To solve this issue, ensure that the memory_limit directive is set correctly in the php.ini file and that there are no conflicting settings in other configuration files.
ini_set('memory_limit', '256M');