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.

PHP API breaks when introduced to network

Featured Replies

  • Newbies

This problem is driving me mad... I have Filemaker Server 9 Advanced installed on a new mac mini in a single-server configuration. Web Publishing via PHP is working perfectly, as long as I don't add the machine to a network. Using the included sample database, or a proven working PHP + Filemaker solution, I get solid performance as long as I am not connected to a network.

Once connected to a network, all requests for pages referencing the filemaker database time out with a "server not responding" error. Filemaker databases continue to be accessible via Filemaker, and the webserver continues to run, but no PHP pages accessing Filemaker work.

I have tried it on the existing network, on a new network by itself, and created a new network with the builtin wireless adapter. No go on any of those fronts.

I have another server set up that works perfectly on the network using the same databases. The only difference is the older server is a W2K3 machine.

Any ideas?

Edit: Turns out it's not completely broken... adding network connectivity merely slows the database access down to the point that safari times out. Firefox will eventually allow the page to open, but it takes over a minute for each PHP page to access the database. Still stumped!

Edit #2: OK, if I add internet access to my network, everything works fine. Once I remove internet access, PHP access to Filemaker slows to an unbearable crawl. Ug. I need this to function on a closed network.

  • 1 month later...

You must have internet sharing turned on, as all PHP connections goes through the http/https protocol(s), which is the same as all internet traffic is using.

That does however not mean that your system is available to everyone on the internet.

Presumably your mini-server is behind your firewall on a private sub-net (it should be), which means that only members of the sub-net can access, not outsiders.

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.