1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

php 7 upgrade problem

Discussion in 'Server Configuration and Hosting' started by xH3LLRAIZ3Rx, May 29, 2016.

  1. xH3LLRAIZ3Rx

    xH3LLRAIZ3Rx Member

    When upgrading a friends site for him to php 7 the site is now getting this error:

    Code:
    setupAutoloader($fileDir . '/library'); XenForo_Application::initialize($fileDir . '/library', $fileDir); XenForo_Application::set('page_start_time', $startTime); $fc = new XenForo_FrontController(new XenForo_Dependencies_Public()); $fc->run();
    
    I tried purging php 7 and apache and reinstall php 5 and reinstall apache, and the error still is there
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    It's just displaying the content of index.php as text which usually indicates PHP isn't running or Apache isn't handing it off to PHP properly. Specifically did you also upgrade mod_php for Apache?

    There's lots of guides about upgrading to 7. I suggest looking to them or your host for support.
     
  3. xH3LLRAIZ3Rx

    xH3LLRAIZ3Rx Member

    I went ahead and tried to reinstall 7 and it works now
     

Share This Page