corrupted characters after document root change
Posted: Tue Dec 14, 2021 12:45 am
environment: mamp 6.6 - Mac OS 12.0.1 Monterey
I changed document root folder from default folder ( Applications > MAMP > htdocs ) to a different directory inside my user's home ( Users > user > htdocs ) and I copied the index.php placeholder in the new document root folder.
But the index.php placeholder is now displayed with corrupted characters.
Reverting the document root folder to default makes the index.php placeholder displayed correctly.
What's happening? (and how to fix...)
I changed document root folder from default folder ( Applications > MAMP > htdocs ) to a different directory inside my user's home ( Users > user > htdocs ) and I copied the index.php placeholder in the new document root folder.
But the index.php placeholder is now displayed with corrupted characters.
Reverting the document root folder to default makes the index.php placeholder displayed correctly.
What's happening? (and how to fix...)