问题描述
我将Xampp用于本地主机.我希望将本地主机上的文件同步到其他计算机上.我认为我可以只在Xampp目录中安装Google云端硬盘. 本地主机/Google云端硬盘"(当然,我必须在所有计算机上都这样做).
I use Xampp for localhost. I would like to have my files on localhost synced on different computers. I figure that I could just install Google Drive inte the Xampp directory eg. "localhost/Google Drive" (of course I will have to do this on all computers).
在我这样做之前,我想知道这样做是否会有不利之处吗?
Before I do so I wonder if there would be any disadvantages doing so?
我还想知道如何使"localhost/Google云端硬盘/some-website/index.php"正常工作(请注意"Google云端硬盘"中的空格)吗?
Also I wonder how to get "localhost/Google Drive/some-website/index.php" to work (note the space in "Google Drive")?
推荐答案
等不及了.
像魅力一样工作!没有遇到任何不利条件.
Works like a CHARM! Did not experience any disadvantages.
我这样解决了"Google云端硬盘空间问题":
I solved the "Google Drive space problem" like this:
- 退出Google云端硬盘
- 将文件夹移动到"htdocs"文件夹,然后将其重命名为例如. "Google驱动器"(我的位置和文件名是"C:\ xampp \ htdocs \ google-drive")
- 重新启动Google云端硬盘(会显示找不到该文件夹)
- 选择重新链接到新文件夹的选项.
由于我将Google云端硬盘文件夹安装在"C:\ xampp \ htdocs \ google-drive"中,因此我可以选择在localhost上工作,而无需同步文件. "C:\ xampp \ htdocs \ my-uncynked-folder"中的文件.
Since I installed the Google Drive folder in "C:\xampp\htdocs\google-drive" I have the option to work on localhost without syncing files eg. files in "C:\xampp\htdocs\my-uncynked-folder".
这篇关于在本地主机目录中安装Google云端硬盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!