Home  >  Q&A  >  body text

phpstudy under contos I upgraded php to 5.6 and now the website cannot be accessed

It’s like this. I want to upgrade the website today and replace the original low version of php with 5.6 (the website access was normal before)

Then I want to enable apache compression and modify /phpstudy/server/httpd/ conf/httpd.conf This file

just deletes a # comment character. This is what the website looks like now.

QQ图片20171204155825.pngThe permissions of the website must not have changed, and the files must exist.

Please give me some guidance

I also restored # later, but it still didn’t work.

Or can someone please come up with a solution to directly upgrade to the latest version of phpstudy

SolitarySolitary2484 days ago1462

reply all(3)I'll reply

  • Day

    Day2017-12-08 09:06:12

    If you change the previous low version of php to a high version, there may be API compatibility issues. If something goes wrong, try changing to the original php version and slowly troubleshoot the problem.

    reply
    0
  • Day

    Day2017-12-08 09:04:37

    It may be a compatibility issue with my lower version. If something goes wrong, try switching to the previous PHP version.

    reply
    0
  • Solitary

    Solitary2017-12-04 16:05:03

    Can anyone help?

    reply
    0
  • Cancelreply