Please look at the attached php script file
When I try to connect its shows error as "Communication Error: (22) The requested URL returned error: 404 Not Found - This can be due to an invalid username or password, or if the FMPHP privilege is not enabled for that user."
But I'm sure about the username and password, also PHP web publishing has setup properly.
Environment: Server MAC machine / Apache
Is anybody have some idea that I need to check and verify something..