jkrier Posted June 18, 2009 Posted June 18, 2009 I'm new to FMPHP development. We have a event registration system written in PHP using the FM PHP API and it is working well for the most part. The problem is we frequently have hung PHP sessions within FileMaker Server.They will hang until we kill them. The client version shows as PHP in the Admin Console. These sessions peg the WPE machine's CPU and cause slowness for others who are trying to register so I need to get this resolved ASAP. Our config consists of 3 machines - one for our Web Server, one for our FM WPE processing (virtual Server), and one for our FM Server. I'm hoping someone has seen this behavior before and knows why it happens and how to prevent it from happening. It was my understanding (could be way off base) that PHP connected to FMS for a short time and automatically disconnected itself. If the user closes the browser while FM is running something, Would that cause this behavior? Thanks , any insight is appreciated.
Baloo Posted June 19, 2009 Posted June 19, 2009 I haven't seen this so I'm really just guessing, but offhand it sounds like you have a problem with your PHP installation. The PHP API doesn't actually connect to the Filemaker server (at least not in the traditional sense). It just sends a cURL request to the server's XML feed and parses the response into an object. I'm also a little confused, is the API PHP code on your "Web Server" machine or your "FM WPE processing" machine? Assuming it's the latter you might try running the PHP from the "Web Server" machine and see what happens.
Recommended Posts
This topic is 5894 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now