• Resolved karthickr

    (@karthickr)


    Hello,

    As I migrated the WordPress site from Digital Ocean to Azure, once moved the files and database into the new azure server, then configured the root location in the apache config file. Then, check the site link, but showing only the index.php code like below.

    <?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( dirname( __FILE__ ) . '/wp-blog-header.php' );

    I have installed the PHP v7.2 in my server. Can you please solve my bug or share your ideas here.

    Thanks,
    Karthick R

Viewing 1 replies (of 1 total)
  • Personally, I am not too familiar with Azure but I do not know that there is extra configurations you need to implement in order for Azure to recognize php is installed once these extra configurations are in place the site should load fine.

    Hope this gets you headed in the right direction. Once you find a solution please tag the thread as resolved.

Viewing 1 replies (of 1 total)

The topic ‘Getting Index.php code on my screen’ is closed to new replies.