How to set up a php environment in a server connected via remote desktop?
The php file cannot be accessed now.
System Windows Server 2008 R2
Tips:
<code>服务器错误 404 - 找不到文件或目录。 您要查找的资源可能已被删除,已更改名称或者暂时不可用。</code>
How to set up a php environment in a server connected via remote desktop?
The php file cannot be accessed now.
System Windows Server 2008 R2
Tips:
<code>服务器错误 404 - 找不到文件或目录。 您要查找的资源可能已被删除,已更改名称或者暂时不可用。</code>
If you are not familiar with environment construction, you can consider using XAMPP to build it with one click. After setting up, place your PHP project in the htdoc folder in the root directory. At this time, the remote access IP can be read.
You can use the integrated environment phpstudy and you can also switch the php version with one click and more than 20 combination modes
What kind of system server is it?
404 The file must not be found. Please confirm the situation again and look at the document.
Is there something wrong with the configuration of the web server?
In your case, there are two solutions:
1. Search for tutorials online. In Windows servers, the environment is generally built using iis+PHP+MySQL. This method may be more expensive.
Second, install using one-click installation packages such as xampp, phpstudy, etc., which can also be found online. Compared with the previous one, this method is obviously much simpler, and it will be much more convenient to modify the configuration and switch expansion in the future.
Note: No matter which method is used, if it is used as a production environment, for security reasons, some necessary configurations need to be modified, such as disabling certain functions of PHP, etc.
I really can’t stand it. If you build an environment on windows, why don’t you use Linux? Docker is now popular