I am trying to write a c program that executes a PHP script. I tried using php_execute_script function that I came across in my google search. However, it seems I have to call TSRMLS_FETCH() which throws an exception. Does anyone have an idea why? or how should I do this in the proper way?
Thanks.