Does anyone know of a way to measure RAM used by a PHP script? If you do, could you please let me know or point me in the right direction. I'd really appreciate anything that you can contribute.
No, I don't. You can measure the processing time. I don't think that processing PHP scripts take much of a server memory. A PHP script might be CPU-intensive but as far as memory is concerned, I doubt that it would be an issue.
RTFM [man]memory_get_usage[/man] Needs to be compiled in, but you wouldn't want the overhead of tracking memory usage on a live server anyway.