Hi All The company I am doing some work for is currently using the php_embed to access the php engine from within a windows based c++ application.
I have been asked a question that I dont know the answer to and all my googling attempts have failed. Is there a way from within the embedded system to destroy all created variables so that the environment is the same as when it was started or do we need to shutdown the embedded engine and start it up again? Also a problem they are coming up with occasionally is that the php engine will crash when php_embed_init(argc, argv PTSRMLS_CC); is called, they havent found any reproducible steps yet. Could this be caused by shutting down and starting up the emdedded engine from within the same app? I have asked and the application isnt multi threaded. Finally is there any examples of how to embed php in a windows app? I have done some googling and have found odd code snippets but if there is a detailed doc I could read I would be most grateful. Thanks in advance for any information provided. Regards Mark