Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在我的 windows7 本地电脑上使用 wamp 服务器进行开发。我所有的项目都将托管在 linux 服务器中,因此我在 php 代码中使用“/”作为路径分隔符。但是当我采用基本路径时,它会给出另一个斜线,因为我在 Windows 中使用。在 wamp 设置或任何其他解决方案中是否有解决此问题的解决方案?
我只是通过将服务器根目录设置为“/”来解决这个问题。到目前为止,这似乎起到了作用。