After installing Mamp in a Mac environment, after clicking Start Server, the Open Webstart page will successfully show that the PHP5.6 has been installed.
After that, the demo.php file is put into the Mamp/htdocs folder,
When you drag a demo.php file into the browser address bar, the browser appears blank.
Reply content:
After installing Mamp in a Mac environment, after clicking Start Server, the Open Webstart page will successfully show that the PHP5.6 has been installed.
After that, the demo.php file is put into the Mamp/htdocs folder,
When you drag a demo.php file into the browser address bar, the browser appears blank.
将demo.php文件拖入浏览器地址栏时,浏览器显示空白
....
You drag to the Address bar, the address bar should not be file://localhost/Users/...../demo.php?
This will only open the file with the browser, the display blank only may demo.php is blank.
First make sure that demo.php has content, and then visit localhost/demo.php to try it.
Is it a matter of authority? Create a php file manually try it