Test remote credentials
Web server environments can be configured in countless ways, and MAMP PRO’s remote features may not work correctly with every possible configuration.
To help troubleshoot such problems, MAMP PRO provides a small PHP script that lets you check your server’s configuration and gather basic statistics about the server environment. This can help identify configuration issues that may be affecting MAMP PRO’s remote features.
Confirm your remote PHP settings
Section titled “Confirm your remote PHP settings”-
Download the archive check.php.zip and unzip it locally. There will be two files –
check.php(the actual test script) andcheck.json.php(its configuration file). -
Connect to your remote server, change to its document root and create a directory called
.testwith a subdirectory calledscripts. -
Upload both files into the
scriptsdirectory, so the test script is reachable at/.test/scripts/check.phpon your remote host. -
Adjust the configuration of the test script by modifying the uploaded
check.json.phpfile. -
Open
https://MyRemoteHost/.test/scripts/check.phpin your browser (replaceMyRemoteHostwith your domain; usehttpifhttpsis not available).
If you cannot run this script because the server does not meet its minimum requirements, contact your hosting provider to find out whether you can adjust your server’s configuration and, if so, how.
Script version: 3.2.0 Publish date: 11/10/2022
Successful Response
Section titled “Successful Response”The output of this script will look something like this:
