The PHP manual tells me that a environment variable set with setenv() is automatically restored at end of script. Thereby my value is lost.
I would like to save a few variables somewhere in storage, that can be shared between PHP instances at one time.
How can I write environment variables (or another spot in RAM) to be readable from another PHP page.
I want to save the status of a webcam motor, so that it is operated from only one PHP script at a time.