zoukankan      html  css  js  c++  java
  • Linux WordPress 访问域名下载文件

    安装好wordpress后访问域名,没有弹出wordpress相关界面,而是下载一个文件。

    <?php
    /**
     * Front to the WordPress application. This file doesn't do anything, but loads
     * wp-blog-header.php which does and tells WordPress to load the theme.
     *
     * @package WordPress
     */
    
    /**
     * Tells WordPress to load the WordPress theme and output it.
     *
     * @var bool
     */
    define( 'WP_USE_THEMES', true );
    
    /** Loads the WordPress Environment and Template */
    require __DIR__ . '/wp-blog-header.php';
    

     应该是服务器不识别PHP文件,可通过宝塔下载php即可。

    如果在宝塔面板中启动nginx不报错,却无法启动,可以尝试通过远程访问主机(如Xshell工具)启动。

     
  • 相关阅读:
    import()函数
    node-sass安装报错
    npm 安装扩展模块时,因缓存报错的问题汇总
    测试
    export default 和 export 区别
    正则
    物联网
    第十二次课堂总结
    第十二次作业
    作业10
  • 原文地址:https://www.cnblogs.com/dengziqi/p/14092635.html
Copyright © 2011-2022 走看看