Either increase the memory limit defined in php.ini, or rewrite your code to use less memory (e.g. by freeing up resources or variables that won't be cleaned automatically by PHP's garbage collection), or give us more detail so that we can try to help. "trying to run the program" doesn't really tell us much, eg. what program?