• Hi Guys, When I switch my php version to Ultrafast latest version, I receive the error below. I have contacted the Theme and plugin Developers and and they have advised no issues their ends running the lastest ultrafast php.

    Can anyone shed any light on this to help rectify the issue?

    Many thanks
    Alex

    ____________________-

    <?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’;

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    That’s not an error. It’s the actual code in the index.php file used by your site. PHP files are not being executed. I suggest you contact your host, as PHP is not properly configured.

    Thread Starter a13xgh

    (@a13xgh)

    Thanks

    Thread Starter a13xgh

    (@a13xgh)

    I have just received this response below for my hosting company. Can anyone advise how I go about fixing this?

    Hello Alex,

    I am afraid, WordPress moderator was partially incorrect.

    The issue was caused by the existing .htaccess (or something in it), because once the .htaccess file have been renamed and the php version switched to ultrafast PHP, the site started working as intended.

    Let us know if we can assist with anything else.

    Best Regards,

    Vasil Lazarov
    Senior Technical Support

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    As I read it, they fixed it for you. IF the site is still not working, please contact them again. This is an issue with how they converted your site to “ultrafast PHP”, which is their own product, and not WordPress.

    Thread Starter a13xgh

    (@a13xgh)

    Hi Steve,

    When you switch the site back to the normal php version the site is working perfectly. They have not fixed the issue when you change to Ultrafast PhP as the error still occurs. What do you advise?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    If it doesn’t work, don’t use it.

    Alex

    (@alexlari)

    a13xgh I came across the same problem, recently. I switched to an unmanaged VPS, and once I have installed wordpress onto my directory, I had a blank page and a download link, once I have opened the file, I had this error message.

    <?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';

    So, I tried to install Installatron which is similar to softaculous to install apps in the server. And it asked me to install php-sqlite3. I have installed the package, and then it worked.

    If you have access to a shell, type

    sudo apt-get install php-sqlite3

    And it should solve the problem without reinstalling WordPress

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Issues when i switch to ULTRAFAST PHP’ is closed to new replies.