Running php files stored on OneDrive

后端 未结 4 1534
借酒劲吻你
借酒劲吻你 2021-02-15 16:15

I am developing a php project, having the project files stored on OneDrive so that I can access them from anywhere.

I have set up XAMPP, with a VirtualHost

相关标签:
4条回答
  • 2021-02-15 16:57

    I've not been able to solve the issue, but I've found a workaround:

    1. Store the project files outside of OneDrive.
    2. Make a symbolic link in the OneDrive folder to the project folder outside of OneDrive.

    With this setup I'm able to run my PHP application, since the project files are not physically located in the OneDrive folder, and the project files are still uploaded and backed up on OneDrive due to the symbolic link.

    0 讨论(0)
  • 2021-02-15 17:11

    I think is fixed now (2018-11-26) - Now, sites are working again in OneDrive. I'm sure it was a OneDrive app problem that was fixed recently.

    0 讨论(0)
  • 2021-02-15 17:12

    I think you just have to right-click OneDrive's icon in the Notification area, choose Settings > Settings > and uncheck Files on Demand.

    Optionally, you can leave that, but just right click the folder in OneDrive that's giving you grief and choose the option to always keep a local copy of the folder.

    0 讨论(0)
  • 2021-02-15 17:15

    This bug is not fixed still. After Windows 10 May 2019 Update, the bug reappeared and it's not fixed by Microsoft.

    0 讨论(0)
提交回复
热议问题