Home  >  Q&A  >  body text

apache - How to set up a server environment?

I just bought a cloud server from Alibaba Cloud, and the system is win2008. The website files are ready, currently they are all html files, and there will be php and mysql in the future.
Now I only upload the html file for testing. How should I configure the server so that others can access my website?
How to build a PHP running environment in the future?
I am a newbie, I hope I can explain it in detail.

我想大声告诉你我想大声告诉你2713 days ago602

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-05-16 17:03:19

    I don’t know much about win08, I’ve always used Linux, it’s very simple, just install the lamp and you’re good to go

    reply
    0
  • 怪我咯

    怪我咯2017-05-16 17:03:19

    Building environment:
    Since it is windows, I recommend a one-click installation package, not the lamp mentioned above, but wampserver

    Let others visit your website:
    Can be accessed directly through the domain name: http://xxx.xxx.xx.xxx

    Of course, this doesn’t look good. The author needs to get a domain name and parse it to make it look better.

    reply
    0
  • Cancelreply