简体   繁体   中英

I'm using Mamp so I can use phpAdmin for my react native project. How can I fix the root folder

The Mamp docs say you should put your php files to connect to your mysql database in the mamp htdocs folder because that's the root folder. Is there a way to put a file in the htdocs folder so I can point to my php files in my react-native project's folder instead of having them in mamp htdocs folder.

In MAMP you can point your document root into any folder, not only htdocs.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM