Jump to content

» «

PHP7 issues

3 replies to this topic
  • X-Seti

    .Retro mod developer. (Xenon Brothers)

  • FerocYEE
  • Joined: 28 Jun 2005
  • Canada
  • Contribution Award [Mods]


Posted 09 December 2016 - 01:36 AM

I have recently updated my server (ubuntu16.04 apache2, mysql) php5.6 got replaced by php7.


Since then everything on the server if I run Apache or Nginx is forbidden, 403 or 404 error depending on the pages accessed. I do host a lot of files (mods for SOL mainly and files for other modders) as this is much cheaper. links to these are also (shown in the browser) as forbidden. unless I use Lighttpd where these files can be accessible. but anything php or html comes up as a blank page.??


Any ideas besides downgrading php7?

  • Parik


  • Members
  • Joined: 03 Dec 2012
  • Mars
  • Contribution Award [Chain Game]
    Best Total Overhaul 2017 Contribution [GTA: Underground]


Posted 09 December 2016 - 01:22 PM

Has apache/nginx got permissions to access the files?

Did you check the apache/nginx log file?

  • K^2

    Vidi Vici Veni

  • Moderator
  • Joined: 14 Apr 2004
  • United-States
  • Best Poster in Technology / Programming 2017
    Best Poster [Technology / Programming] 2016
    Best Poster [Programming] 2015
    Most Knowledgeable [Web Development/Programming] 2013
    Most Knowledgeable [GTA Series] 2011
    Best Debater 2010


Posted 11 December 2016 - 02:52 AM

Yeah, this sounds like configuration issue, rather than an actual PHP incompatibility. So I'd fix that first. If PHP was failing to run your scripts, you'd be getting some sort of errors from PHP instead of server error messages or blank pages.

  • helresa

    Public Security Section 9

  • Members
  • Joined: 29 Sep 2010
  • None


Posted 02 April 2017 - 05:31 PM

Yep sounds like apache and/or nginx are not configured correctly for php...

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users