php 7 upgrade problem

xH3LLRAIZ3Rx

Active 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
 
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.
 
Top Bottom