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.
我想从 WAMP 更改我的 php 代码在 localhost 上运行的位置。
我当前的位置在C:\wamp,我想将其更改为E:\server\
C:\wamp
E:\server\
怎么做?
你将不得不改变httpd.conf并c:\wamp\bin\apache\apache-xxx.xx\寻找c:/wamp路径。适当地改变它。在这种情况下e:/server/。保存文件,然后重新启动 apache,您应该一切顺利。
httpd.conf
c:\wamp\bin\apache\apache-xxx.xx\
c:/wamp
e:/server/