search

Home  >  Q&A  >  body text

After installing php7 and running phpinfo, the old version that was installed before still appears.

Win installed php7.1
Configured nginx
Run phpinfo and the old version still appears
Because I have used xampp before and did not uninstall it
Is this the reason?

The tutorial for installing php7 under win was found online, it should be correct

< /p>

PHP中文网PHP中文网2844 days ago951

reply all(3)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-05-16 13:12:31

    A few days ago, I also tinkered with Nginx and php7 under win10. I used wampserver before. 1. First, check whether the apache server of xampp you used before is still open, but the nginx server is not. 2. Or it may be that the port of the nginx server is similar to your previous server port. You can modify the default port in nginx.conf and try again.

    reply
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-16 13:12:31

    Just install an integrated environment, such as PHPstudy, wampserver, xampp, etc. Just download and install them

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-05-16 13:12:31

    I seem to have found the problem:
    When you go to the php official website download address to download php7, don’t directly choose the top one

    If you download it here, it seems that there is no php-cgi.exe file in the root directory after downloading
    That’s why I have the above problem
    You have to select the php compressed package to download in the download section below

    reply
    0
  • Cancelreply