我将 PHP 文件上传到在线文件管理器,但当我打开我的域时,我看不到它们。我收到来 self 的托管提供商的消息:
Congratulations! Your free hosting account has been activated. You can now use FTP or the file manager in your cPanel to upload your site."
我的文件上传到 htdocs 文件夹中。可能会出现什么问题?
最佳答案
如果我没猜错的话,您已经在该文件夹中上传了 PHP 文件。 如果您使用的是免费服务器之类的托管服务,那么您应该在其中上传 public_html 文件夹。
另外,检查你是否有index.html或index.php 如果没有,则上传任何以索引为名称的虚拟文件,检查虚拟文件是否出现在打开的网站上
关于php - 我将 PHP 文件上传到在线文件管理器,但当我打开我的域时,我看不到它们,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40884966/