[quote=356987:@Cecilio Ruiz Fernandez]I have implemented the Timer solution.
I uploaded a new compiled , changed permissions and it worked.
But I compile changes, with the same permissions and again error 500.
It is very unstable. When it works I do not dare to upload changes.[/quote]
Once you have the Web app working, before uploading the updated files you have to delete the CGI file, and wait over 5 seconds. That will stop the app. Then you can upload the new files.