Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Hung PHP Sessions on FM Server

Featured Replies

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.

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.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.